Re: Exit pattern matching

2018-11-22 Thread Dawid Wysakowicz
Hi Moiz, What do you mean by exit pattern? Do you mean that you want an event to belong to a single match? If so I think you can achieve that with AfterMatchSkip.SKIP_PAST_LAST strategy[1]. [1] https://ci.apache.org/projects/flink/flink-docs-release-1.6/dev/libs/cep.html#after-match-skip-strategy

Exit pattern matching

2018-11-21 Thread Moiz Motorwala
Hi Flink Team, First, I would like to thank for such a wonderful tool and appreciate your efforts. I am developing an application where I am processing stream of geolocations and detecting geofence if exactly 3 events are inside geofence. The code is something like this:- Pattern geofencePattern