I have looked into the CEP library. I have posted an issued on stackoverflow.
https://stackoverflow.com/questions/49047879/global-windows-in-flink-using-custom-triggers-vs-flink-cep-pattern-api However the pattern matches all possible solution on the stream of events.Does pattern have a notion of Evictor? How can you keep only the specific set of events. This question has not been answered and there seems to be a similar question https://stackoverflow.com/questions/48028061/flink-cep-greedy-matching Thanks -- Sent from: http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/