complex-event-processing

Error Cepheus broker not forwards updates to Cepheus CEP

喜夏-厌秋 提交于 2019-12-04 19:27:06
I use Cepheus GE for my use case and I enabled it in the multi tenant mode and uploaded my config.json file to it, But when I start to send updates to the Cepheus broker in order to forward them to the CEP, the Cepheus broker just receives the updates but doesn't forward them to the Cepheus cap as it couldn't recognize the service and service-path that are set in the config.json . And when I tried to send my updates directly to the Cepheus-CEP, it accepted them and processed them successfully. So I wonder why the Cepheus broker cannot recognize the Fiware-service when it's enabled in the multi

Drools Fusion support for persistent, long running events

六月ゝ 毕业季﹏ 提交于 2019-12-03 16:37:18
I was considering using Drools Fusion to implement the following exemplary rules: if customer bought two same products within a year, she gets third for free for spending more than 200 USD in at most three consecutive transactions customer gets a discount when the customer is inactive for more than a year a reminder is generated a supervisor is notified when a single order is greater than an average order value within last six monhts ...and so on, these are just examples from the top of my head All these rules can be easily expressed using Drools Fusion. However after creating a prototype and

Apache Flink - Send event if no data was received for x minutes

风流意气都作罢 提交于 2019-12-01 06:20:46
How can I implement an operator with Flink's DataStream API that sends an event when no data was received from a stream for a certain amount of time? Such an operator can be implemented using a ProcessFunction . DataStream<Long> input = env.fromElements(1L, 2L, 3L, 4L); input // use keyBy to have keyed state. // NullByteKeySelector will move all data to one task. You can also use other keys .keyBy(new NullByteKeySelector()) // use process function with 60 seconds timeout .process(new TimeOutFunction(60 * 1000)); The TimeOutFunction is defined as follows. In this example it uses processing time