Re: Help with the correct Event Pattern

2019-07-26 Thread Dawid Wysakowicz
Have you tried pattern like: /Pattern.begin[Event]("b", //AfterMatchSkipStrategy.skipPastLast//).where(...).followedBy("c").where(...).followedBy("e").where(...)/ The method followedBy(Pattern) constructs a Pattern with a subGroup pattern. The skip strategy there does not have any effect. Best,

Help with the correct Event Pattern

2019-07-25 Thread Federico D'Ambrosio
Hello everyone, I need a bit of help concerning a correct formulation for a Complex Event Pattern, using CEP. I have a stream of events which once keyed for ids, they may look like this: a b1 b2 b3 b4 b5 c1 c2 d1 d2 c3 c4 e1 e2 f1 what I want to achieve is to get, from a formulation similar to