Hi All, I am trying a simple bad session detection example and need some help. I am looking to catch some “x” events not followed immediately by a “y” event within z minutes. What would be the best way to model this in Flink? I was trying CEP, but not seeing luck there.
y
Yuval Itzchakov
12/23/2023, 9:23 PM
What is the relationship between X and Y? Can they be captured together using a shared key?
Alternatively, you can go a bit more low level with a keyBy and a KeyedProcessFunction with state that watches for event X and if event Y or Z are not in the stream releases the event immediately