Triggers for late elements

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Triggers for late elements

Harshvardhan Agrawal
Hello,

I am trying to understand the behaviour of Triggers in the case where we receive late elements for a window. Does Flink always fires a window each time it receives late element i.e. if I receive 10 late elements, would it fire 10 times?
Is there any specific example I could refer to understand the how this works?

--
Regards,
Harshvardhan Agrawal
Reply | Threaded
Open this post in threaded view
|

Re: Triggers for late elements

Hequn Cheng
Hi harshvardhan,

No, by default, late elements will be thrown away. There are documents about window here[1].

Best, Hequn



On Mon, Jul 23, 2018 at 1:34 AM, Harshvardhan Agrawal <[hidden email]> wrote:
Hello,

I am trying to understand the behaviour of Triggers in the case where we receive late elements for a window. Does Flink always fires a window each time it receives late element i.e. if I receive 10 late elements, would it fire 10 times?
Is there any specific example I could refer to understand the how this works?

--
Regards,
Harshvardhan Agrawal