Re: Watermark not firing to push data

2018-12-18 Thread Vijay Balakrishnan
Hi, After looking at the code in EventTimeTrigger, I changed the Watermark to be System.currentMillisecs + boundSecs( 5 secs) so that the window's maxTS was <= watermark. I was able to consumer from Kinesis when I had only 50 records. For TumblingWindow of 5 secs , the window maxTS was usually lik

Re: Watermark not firing to push data

2018-12-17 Thread Vijay Balakrishnan
Hi, Thx for your reply and pointers on the currentLowWatermark. Looks like the Flink UI has tab for Watermarks itself for an Operator. I dump 5 records into the Kinesis Data Stream and am trying to read the same record from the FlinkKinesisConsumer and am not able to. I am using the same monitorin

Re: Watermark not firing to push data

2018-12-15 Thread Hequn Cheng
Hi Vijay, Could you provide more information about your problem? For example - Which kind of window do you use? - What's the window size? - A relatively complete code is better :-) As for the problem, it is probably the event time has not reached the end of the window. You can monitor the waterma

Watermark not firing to push data

2018-12-14 Thread Vijay Balakrishnan
Hi, Observations on Watermarks: Read this great article: https://data-artisans.com/blog/watermarks-in-apache-flink-made-easy * Watermark means when for any event TS, when to stop waiting for arrival of earlier events. * Watermark t means all events with Timestamp < t have already arrived. * When t