flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Soheil Pourbafrani <soheil.i...@gmail.com>
Subject clear method on Window Trigger
Date Tue, 17 Jul 2018 14:44:04 GMT
Hi,

Can someone elaborate on when the clear method on class Trigger will be
called and what is the duty of that? Also, I don't know what is the benefit
of FIRE_AND_PURGE against FIRE and it's use case.

For example, in a scenario, if we have a count of 3 Window that also will
trigger after a timeout if we FIRE window on timeout and after a while, a
new data will be added to the data, will window be triggered for all data
or not just for new late data? I guess in such such case we should use the
FIRE_AND_PURGE.

Mime
View raw message