Here is what I want to do in Apache Flink:
Take an input DataStream<T>
then Key By field x
and then do a sliding 15 minute window which slides every minute, aggregate the result for each of the keys (x
) and then aggregate all of those aggregations into a list
Basically if I have an input stream, [(a, 1, Time 1), (b, 6, Time 14), (b, 1, Time 12)]
, I want the result to be [(a, 1), (b, 7)]
, by operating on 15 minute sliding windows and for this specific sliding window.
Is this possible?