Hi,

I struggle a bit to understand the difference between
BoundedOutOfOrdernessTimestampExtractor and the allowed lateness function
of a window...

As I understand it, when I use BoundedOutOfOrdernessTimestampExtractor the
watermark is lagging behind the real event time of the stream with
maxOutOfOrderness.
So for the window trigger late events won't be late as the watermark is
lagging.

In Contrast, allowed lateness will wait after the watermark passed. So
using allowed lateness a window could fire twice - after the watermark and
the arrival of late events.

Is that the only difference? What would happen if I use both? Do I have a
double delay?

Does a best practice exist when to BoundedOutOfOrdernessTimestampExtractor
or allowed latesness?

Best regards,
Nico

Reply via email to