flink-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Skates <zeophl...@gmail.com>
Subject Re: Flink CEP
Date Sun, 26 Mar 2017 15:01:43 GMT
Hi Flink team,

Any ideas on how to achieve the below outcome:

I have a stream of Strings, with the words Start, Step and Stop.  I'm
trying to build a pattern for a Start followed by another Start, without a
Stop in between.

e.g. this would give an alert due to lines 5 and 8:
Start
Step
Step
Stop
Start
Step
Step
Start
Step
Stop
Step


Daniel


On Wed, Mar 22, 2017 at 6:33 PM, Daniel Skates <zeophlite@gmail.com> wrote:

> Hello,
>
> I'm having difficulty with the Flink CEP constructs.  Essentially I have a
> stream of Strings, with the words Start, Step and Stop.  I'm trying to
> build a pattern for a Start followed by another Start, without a Stop in
> between.
>
> e.g. this would give an alert due to lines 5 and 8:
> Start
> Step
> Step
> Stop
> Start
> Step
> Step
> Start
> Step
> Stop
> Step
>
> Any direction would be greatly appreciated,
>
> Cheers,
>
> Daniel
>

Mime
View raw message