Re: flink cep 匹配一段时间类A,B,C事件发生

2020-04-16 文章 Peihui He
是的,这个想法好,谢谢😀 Dian Fu 于2020年4月16日周四 上午9:59写道: > 类似于这样? > > AA follow by BB follow by CC > > AA定义成A or B or C > BB定义成(A or B or C)and BB.type != AA.type > CC定义成(A or B or C)and CC.type != AA.type and CC.type != BB.type > > > 在 2020年4月16日,上午8:40,Peihui He 写道: > > > > hello,all > > > >我这个边需

Re: flink cep 匹配一段时间类A,B,C事件发生

2020-04-15 文章 Dian Fu
类似于这样? AA follow by BB follow by CC AA定义成A or B or C BB定义成(A or B or C)and BB.type != AA.type CC定义成(A or B or C)and CC.type != AA.type and CC.type != BB.type > 在 2020年4月16日,上午8:40,Peihui He 写道: > > hello,all > >我这个边需要匹配一段时间内A,B,C事件同时发生,但是不要求A,B,C事件的顺序,flink cep有什么好的方式不? > > 有

flink cep 匹配一段时间类A,B,C事件发生

2020-04-15 文章 Peihui He
hello,all 我这个边需要匹配一段时间内A,B,C事件同时发生,但是不要求A,B,C事件的顺序,flink cep有什么好的方式不? 有个方案是 定义多个模式组,每个模式组是A,B,C事件的一次排列组合,但是这样比较麻烦,如果事件个数多的话,需要写太多组合。 best wish