In the documentation of FlinkCEP, I found that I can enforce that a particular event doesn't occur between two other events using However, I was wondering If I could detect the absence of a certain event after a time X. For example, if an event A is not followed by another event A within 10 seconds, fire an alert or do something. Could be possible to define a FlinkCEP pattern to capture that situation? Thanks in advance, Humberto |
Hi Humberto, I guess Fuji is familiar with Flink CEP and he can answer your proposed question. I already cc him. Best, Zhijiang
|
Hello Fuji and Zhijiang
Thanks for time! Fuji thanks for the links 👍🏻 I hope that in the future similar scenarios can be implemented in FlinkCEP. Other CEPs like ESPER support this particular type of negated patterns. Best regards, Humberto
|
In reply to this post by Zhijiang(wangzhijiang999)
Humberto, Although Flink CEP lacks notFollowedBy at the end of a Pattern, there is a way to implement this by exploiting the timeout feature. The Flink training includes an exercise [1] where the objective is to identify taxi rides with a START event that is not followed by an END event within two hours. You'll find a solution to this exercise that uses CEP in [2]. David On Thu, Mar 19, 2020 at 4:41 AM Zhijiang <[hidden email]> wrote:
|
Thanks David, I will look at your references 👍🏻
|
In reply to this post by David Anderson-2
Thanks David, I will look at your references 👍🏻
|
Free forum by Nabble | Edit this page |