Hi Radu,
Watermarks cannot be emitted by the triggers.
Their responsibility is just to tell the operator to do (or not do) sth
with the data it has gathered. Thus the name Trigger :P.
Eviction policies allow you to also filter some elements out
before applying your function. But that is as far as it goes
concerning input element modification.
For emitting watermarks you should look at the
assignTimestampsAndWatermarks methods in the
DataStream API.
Cheers,
Kostas
Hi,
Is there some way to emit a watermark in the trigger?
I see that in the evictor there is the option to check the StreamRecord<Object> if it is a watermark..so I would hope that there is some option also to create them