FlinkUpdated
Watermarks and late data
Event time, watermark strategies and how to handle late events.
Event time
Event time is when the data was actually produced. Windowing on event time is what gives correct results.
Watermark strategy
A bounded out-of-orderness strategy works for most cases. Set the bound based on the real delay of your source.
Late data
Use allowedLateness to keep windows open longer, or route late events to a side output.