Hey Team,
I have Flink job with CEP with pattern that implement below pattern rule
A followedBy B followedBy C followedBy D.
Now I have dynamic rule implemented in Job, If another rule want to match pattern like
A followedBy B followedBy C followedBy D followedBy E followedBy F
As far as I have understand if I am working with Datastream for CEP, i need to hardcode all the followedBy method i.e. I will need one method with 4 followedBy for 1st rule and another method with 5 followedBy for 2nd rule.
Can anybody help How can I implement dynamic number of followedBy clause of condition? One thing I saw is using CEP with Table API (SQL)