Login  Register

Re: Count Window Trigger that only fires once

Posted by Congxian Qiu on May 24, 2019; 2:03am
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Count-Window-Trigger-that-only-fires-once-tp27982p27987.html

Hi Frank,

Seems you want a custom trigger, maybe the doc[1] can help.

[1] https://ci.apache.org/projects/flink/flink-docs-release-1.8/dev/stream/operators/windows.html#triggers

Best Congxian
On May 23, 2019, 23:38 +0800, Frank Wilson <[hidden email]>, wrote:
Hi,

Is there a way to make the count window trigger fire only once? I would like a session window to only emit the first element it receives immediately rather than waiting until the watermark passes the end of the window.

Thanks,

Frank