complex-event-processing

Perseo fe docker instance fail to start

微笑、不失礼 提交于 2019-12-24 02:09:52
问题 I am facing with the following issue: I am trying to deploy FIWARE-Perseo to my Centos 7 server as docker instances. Although the perseocore instance runs without a problem, it doesn't happen the same with the perseo front end. It is created but fails to start. From the logs it is clear that the problem is associated to the mongodb: Changing PERSEO_CORE_URL to environment value: http://localhost:8080 Changing PERSEO_ORION_URL to environment value: http://myip:1026/v1/updateContext Changing

Perseo fe docker instance fail to start

我们两清 提交于 2019-12-24 02:09:37
问题 I am facing with the following issue: I am trying to deploy FIWARE-Perseo to my Centos 7 server as docker instances. Although the perseocore instance runs without a problem, it doesn't happen the same with the perseo front end. It is created but fails to start. From the logs it is clear that the problem is associated to the mongodb: Changing PERSEO_CORE_URL to environment value: http://localhost:8080 Changing PERSEO_ORION_URL to environment value: http://myip:1026/v1/updateContext Changing

Handling null values with wso2 CEP

可紊 提交于 2019-12-24 01:44:18
问题 I want to update event table (RDBMS) using additional condition that one column in that is not null. Table name is MSISDNProfileDB and it's in oracle db. from incomingStream#window.length(1) select correlation_MSISDN as MSISDN, INTERACTION_DT as INTERACTION_DT update MSISDNProfileDB on MSISDNProfileDB.MSISDN == MSISDN and not(MSISDNProfileDB.column1 is null); it validates the code, but does not update INTERACTION_DT. For testing purposes, I changed it to check if the column is null, and

Orion has issues running alongside Apache Tomcat 7

馋奶兔 提交于 2019-12-23 15:55:24
问题 I've installed Orion 0.24 on a server, alongside with Apache Tomcat 7, where I deployed ProtonCEP GE (4x WAR files deployed). The issue is that Orion unswers only to half of the requests it gets (independent of request) in an alternate fashion, like so: $ curl http://localhost:1026/version -H "Content-Type: application/json" <orion> <version>0.24.0</version> <uptime>0 d, 0 h, 8 m, 39 s</uptime> <git_hash>ed11a3307c7050857ef398ee3e4cd04042a0cc01</git_hash> <compile_time>Mon Sep 14 17:52:44

Drools Fusion support for persistent, long running events

浪尽此生 提交于 2019-12-21 05:00:12
问题 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

WSO2 CEP - Out of Memory

a 夏天 提交于 2019-12-13 13:26:05
问题 We are seeing out of memory errors on CEP. The thread dump shows that there were around 32000 threads sleeping on monitor. Also even though CEP JVM options specifies to generate the HeapDump on outofmemory, we dont see any heap dump generated.. Please advice. (CEP JVM -Xms256m -Xmx1536m ) 1) The Cassandra is disabled on this CEP 2) CEP version is 2.1.0 3) The CEP is fronted by WSO2 ESB (using BAM Mediator). 4) Apart from sending the actual payload data to CEP, the ESB is also sending a

How to describe this complex scene by cep?

喜夏-厌秋 提交于 2019-12-13 08:10:26
问题 This is my Event schema EventA (FieldA string, FieldB string, FiledC string) EventB (FieldD string, FieldE string) I want the query like: devide events into group window, group EventA by FieldA, FieldB ,group EventB by FieldE If events occured in this order: EventA -> EventA -> EventA -> EventB -> EventB ,and distinct( EventA.FieldC ) >= 3 ,and every EventB.FieldE equals every EventA.FieldB (join part),then generate a correlate event. The problem is that:the count of EventA (3) is for the

WSO2 CEP event lifecycle

你离开我真会死。 提交于 2019-12-13 07:22:50
问题 Is there any document/article explaining the event lifecycle in WSO2 CEP? I dont quite understand how the events are discarded from the event streams. Thank you, Hugo Calado 回答1: Events will be discarded immediately. Basic flow is stream will receive events from and receivers and it will immediately push events to publisher without storing. If you want to collect event for certain time periods you can use somwthing like time windows in Siddhi Execution Plans [1]. In following Siddhi query it

WSO2 CEP - Single Event Table for Multiple Execution PLans

只谈情不闲聊 提交于 2019-12-13 07:03:40
问题 I have been exploring WSO2 CEP for last couple of days. I am considering a scenario where a single lookup table could be used in multiple execution plans. As far as I know, only way to store data all data is event table. My questions are: Can I load an event table once(may be by one execution plan) and share that table with other execution plans? If answer of Q1 is NO, then it will be multiple copies of same data storing in different execution plans, right ? Is there any way to reduce this

Exporting CEP definition file from the authoring tool to an (external) repository

纵然是瞬间 提交于 2019-12-11 23:10:05
问题 We are having problems with the exporting of the CEP definition file from the authoring tool to an (external) repository. In the response preview from the developer tools of the browser we get the following error message: "HTTP Status 500 - A javax.ws.rs.ext.MessageBodyReader implementation was not found for class org.apache.wink.json4j.JSONArray type and text/html;charset=utf-8 media type. Verify that all entity providers are correctly registered. Add a custom javax.ws.rs.ext