Open shidayang opened 5 years ago
Some advantages:
@shidayang What's your use case?
dou you have example for (flink siddhi support dynamic cep runtime (modify ad-hoc without restart)) and can one stream apply to more than one dynamic ceps?
@panenming please have a look about https://github.com/haoch/flink-siddhi/blob/master/core/src/test/java/org/apache/flink/streaming/siddhi/SiddhiCEPITCase.java#L441 basically idea is
you could send control event (Add/Deleted/Update) through ControlStream which physically could connect to some Kafka topic or other source and just send the control operation you want and it will apply to the DAG cep runtime dynamically.
Please refer to https://github.com/haoch/flink-siddhi/blob/master/experimental/src/main/scala/com/github/haoch/experimental/CEPPipeline.scala as a complete example
@haoch thanks,I also have a question. can siddhi resolve unsort event?
@shidayang it doesn't have the concept of watermark in flink for out of order event, but it supports to keep some safe window for resorting events then process.
Hi @haoch. Although I haven't know all about siddhi, I am really absorbed by it. I have two questions:
I don't konw how to chose siddhi and flink-cep