Re: Watermark generation issues with File sources in Flink 1.11.1

2020-09-10 Thread Aljoscha Krettek
Thanks David! This saved me quite some time. Aljoscha On 09.09.20 19:58, David Anderson wrote: Arti, The problem with watermarks and the File source operator will be fixed in 1.11.2 [1]. This bug was introduced in 1.10.0, and isn't related to the new WatermarkStrategy api. [1] https://issues.

Re: Watermark generation issues with File sources in Flink 1.11.1

2020-09-09 Thread David Anderson
Arti, The problem with watermarks and the File source operator will be fixed in 1.11.2 [1]. This bug was introduced in 1.10.0, and isn't related to the new WatermarkStrategy api. [1] https://issues.apache.org/jira/browse/FLINK-19109 David On Wed, Sep 9, 2020 at 2:52 PM Arti Pande wrote: > Hi

Re: Watermark generation issues with File sources in Flink 1.11.1

2020-09-09 Thread Arti Pande
Hi Aljoscha, By "checkpoints do not work" what I mean is ever since Flink 1.9.2 till 1.11.1 when using File source the source operator (guessing split enumerator or metadata reader) finishes immediately after starting (and assigning the splits to split readers) hence when first checkpoint is trigg

Re: Watermark generation issues with File sources in Flink 1.11.1

2020-08-24 Thread Aljoscha Krettek
Hi Arti, what exactly do you mean by "checkpoints do not work"? Are there exceptions being thrown? How are you writing your file-based sources, what API methods are you using? Best, Aljoscha On 20.08.20 16:21, Arti Pande wrote: Hi Till, Thank you for your quick response. Both the AssignerW

Re: Watermark generation issues with File sources in Flink 1.11.1

2020-08-20 Thread Arti Pande
Hi Till, Thank you for your quick response. Both the AssignerWithPeriodicWatermarks and WatermarkStrategy I am using are very simple ones. *Code for AssignerWithPeriodicWatermarks:* public class CustomEventTimeWatermarkGenerator implements AssignerWithPeriodicWatermarks { private final long

Re: Watermark generation issues with File sources in Flink 1.11.1

2020-08-19 Thread Till Rohrmann
Hi Arti, thanks for sharing this feedback with us. The WatermarkStrategy has been introduced quite recently and might have some rough edges. I am pulling in Aljoscha and Klou who have worked on this feature and might be able to help you. For better understanding your problem, it would be great if