Hi!
The print() output is usually partitioned in the same way as the previous operation.
Because your previous operation is the keyBy/window operator, it should be partitioned following the key selected by the key selector.
The Reduce() function gets only called if a window has at least two elements. If the window has only one element, that single element is the result of the window and gets printed.
Greetings,
Stephan