On 2021/01/27 15:09, Chesnay Schepler wrote:
Put another way, if you use any of the built-in WatermarkGenerators and use event-time, then it appears that you *must* set this interval.

This behavior is...less than ideal I must admit, and it does not appear to be properly documented.

Setting the watermark interval is done when calling `env.setStreamTimeCharacteristic()`. It's the first thing we documented
for working with event time [1].

[1] https://ci.apache.org/projects/flink/flink-docs-release-1.11/dev/event_time.html

To me it was always a usability problem that we didn't have event time enabled by default. We didn't have this because of "performance considerations". This changed in Flink 1.12 [2].

[2] https://issues.apache.org/jira/browse/FLINK-19317

@Pilgrim: Which version of Flink are you using?

Reply via email to