Hi all,

I have my own stream operator which trigger an aggregation based on the
number of items received
(OneInputStreamOperator#processElement(StreamRecord)). However, it is
possible to not trigger my aggregation if my operator does not receive the
max items that have been set. So, I need a timeout trigger.

I am confused if I need to extend Trigger on
MyPreAggregate-AbstractUdfStreamOperator or if I have to put a window as a
parameter of the operator class MyPreAggregate-AbstractUdfStreamOperator<K,
V, IN, OUT, W extends Window>. what is the best approach?

Thanks,
Felipe
*--*
*-- Felipe Gutierrez*

*-- skype: felipe.o.gutierrez*
*--* *https://felipeogutierrez.blogspot.com
<https://felipeogutierrez.blogspot.com>*

Reply via email to