I have a stream of event e and I'd like to transform it into a stream of collection of 3 events :
e1--e2--e3--e4--e5--e6--e7--e8--e9--....eX
into
(e1,e2,e3)---(e4,e5,e6)---(e7,e8,e9)....
and then process this stream.
An important detail : I don't want to wait the end of the stream to build and process this new stream.
How would you do something like this ?