It is not possible at this moment. FlinkCEP can handle only one Pattern applied 
statically. There is a JIRA ticket for that: 
https://issues.apache.org/jira/browse/FLINK-7129 .

> On 19 Dec 2017, at 10:10, Jayant Ameta <wittyam...@gmail.com> wrote:
> 
> I've a datastream of events, and another datastream of patterns. The patterns 
> are provided by users at runtime, and they need to come via a Kafka topic. I 
> need to apply each of the pattern on the event stream using Flink-CEP. Is 
> there a way to get a PatternStream from the DataStream when I don't know the 
> pattern beforehand?
> 
> https://stackoverflow.com/questions/47883408/apache-flink-how-to-apply-patterns-from-a-source-onto-another-datastream

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to