Questions tagged [wso2-cep]

251 questions
0
votes
1 answer

Differences between commands of Cassandra CLI and Cassandra CQL

I am trying to run the following wso2cep sample. https://docs.wso2.com/display/CEP400/Sample+0067+-+Publishing+Map+Events+via+Cassandra+Transport But in the latest cassandra releases we cannot find the cassandra-cli. So we have to use cassandra CQL…
Minudika
  • 851
  • 6
  • 23
0
votes
1 answer

Call a R script from WSO2 - Bridging the loose ends

I wish to call my R scripts from WSO2 DAS server. I have written the following code in siddhi query @Plan:name('MyRPlan') @Import('MyRStream:1.0.0') define stream Rin (emplyId int); @Export('MyRout:1.0.0') define stream Rout (emplyId int); from…
0
votes
1 answer

WSO2 CEP event lifecycle

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
0
votes
1 answer

WSO2 CEP - Insert into multiple streams

In SiddhiQL how is it possible to insert into multiple streams with same condition? When i have two correlated events (event1 and event2) and want to insert event1 in streamA; insert event2 in streamB; insert abstractEvent in streamC. Do i have…
0
votes
1 answer

Is there a playground tool for SiddhiQL

What is the easiest method to learn SiddhiQL. Is there any tool such as Esper EPL Online for Siddhi ? Or what is the most easy way for a beginner ? Thanks
0
votes
1 answer

wso2 esb and cep installation simultaneouslly

I am trying to install and run ESB and CEP both on the same machine. I have tried to set port offset to 1, to prevent port conflict, but still after running ESB, I am not able to run CEP. The error log in cmd is as bellow: `C:\Program…
Kawe
  • 51
  • 7
0
votes
1 answer

CEP query based on date / time of the day

In WSO2 CEP, I made an execution plan that includes the following query: (it will be fired if the temperature exeeds 20 degrees 3 times in a row within 10 seconds) from MQTTstream[meta_temperature > 20]#window.time(10 sec) select…
Blackvenom
  • 667
  • 6
  • 13
0
votes
1 answer

How do I publish an event stream which has schema same as Input stream

I need to process an input stream an publish the processed stream which has same schema as input stream to the logger. In other words I need to have the same schema for import and export definitions. How do I solve this issue? Is this possible to…
DesirePRG
  • 6,122
  • 15
  • 69
  • 114
0
votes
1 answer

How to assign a value using a siddhi query?

I need to assign a value to a particular attribute in a stream by checking a condition. How do I do it? e.g if a person's name is 'John' and I need to modify his name into 'Peter' and insert into another stream, how do I do it? from myStream…
DesirePRG
  • 6,122
  • 15
  • 69
  • 114
0
votes
1 answer

Distributed cache with WSO2 cep engine

General info: Using tomcat server7.0 with JDK1.7 I have two servers, and I'm using Hazlecat version 3.0 for caching. My problem is with CEP engine. Using WSO2 engine I added the following to my pom.xml:
naama
  • 1
  • 2
0
votes
1 answer

Exception defining tables in execution plans of WSO2 CEP 4.0.0

I am trying to migrate from WSO2 CEP 3.1.0 to WSO2 CEP 4.0.0. I have converted an existing execution plan to the new SiddhiQL syntax: @Plan:name('occurredFailure') @Import('responseTimeStream:1.0.0') define stream responseTimeStream (service…
0
votes
2 answers

How to Connect WSO2CEP with Socket.io?

I want to create an Event Publisher that connect via Websocket. When I try to connect it with my simple socket io server, the url is ws://localhost:3000/socket.io/ It didn't receive the stream.. I've set the inline format for the stream like this…
Faruk
  • 5,438
  • 3
  • 30
  • 46
0
votes
1 answer

Where I can download WSO2CEP 4.0.0 newest version?

I want to learn WSO2CEP by doing the example in documentation here one by one. But I'm stuck on the first example sn=0001, the error when i try to build producer is [java] Starting WSO2 Http Client [java] Exception in thread "main"…
Faruk
  • 5,438
  • 3
  • 30
  • 46
0
votes
1 answer

WSO2 CEP fire BPS over SOAP failed

I want to invoke a BPS process from CEP through SOAP method, but got an exception in BPS side. the event output formatter such as:
mxx
  • 11
  • 3
0
votes
1 answer

WSO2 BAM 2.5 - Default Logger Output Event Adaptor

Which directory and file does the default logger output event adaptor write the logs to? I am not able to see the logs in the repository/logs/wso2carbon.log file? The log4j properties file in repository/conf has the default configurations and I can…
dave
  • 91
  • 6