David Cunningham
02/12/2024, 11:36 PMTilman Krokotsch
02/13/2024, 7:57 AMt comes in, all windows containing t are created. In your case this means 12h * 60m - 1m = 719 windows . Because of your custom trigger, the windows fire for each element coming in. That would make 1438 output elements for you.
On a related note, supplying a custom trigger deactivated the default trigger of the window. Your sliding windows will therefore not close as expected. You need to replicate the behavior of the default event time trigger in your custom one to do that.David Cunningham
02/13/2024, 5:31 PMTilman Krokotsch
02/14/2024, 7:58 AMwindow argument of onElement. Firing only if the window end is closer than one minute to the elements event time should do the trick.