Re: Queries regarding FlinkCEP

Posted by Dawid Wysakowicz on
URL: http://deprecated-apache-flink-user-mailing-list-archive.369.s1.nabble.com/Queries-regarding-FlinkCEP-tp13454p13516.html

Hi Biplop,

CEP library internally must ensure order of the incoming events. It sorts events upon Watermark arrival. At that time it sorts events with timestamp < Watermark.

With BoundedOutOfOrdernessTimestampExtractor a Watermark with time t is generated if there arrives event with timestamp t + maxOutOfOrderness.

Try adding event like: 12,b,70000,6 to your test set and some alerts should be generated.

Z pozdrowieniami! / Cheers!


Dawid Wysakowicz

Data/Software Engineer

Skype: dawid_wys | Twitter: @OneMoreCoder


2017-06-06 15:17 GMT+02:00 Biplob Biswas <[hidden email]>:
Sorry to bombard with so many messages , but one last thing is the example
would produce alert if the line specifying Event Time is commented out.

More specifically, this one:

env.setStreamTimeCharacteristic(TimeCharacteristic.EventTime);


Only with event time, there is no alert.

Thanks, Biplob



--
View this message in context: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Queries-regarding-FlinkCEP-tp13454p13513.html
Sent from the Apache Flink User Mailing List archive. mailing list archive at Nabble.com.