Questions tagged [siddhi]

Siddhi CEP is a lightweight, easy-to-use Open Source Complex Event Processing Engine (CEP) under Apache Software License v2.0. Siddhi CEP processes events which are triggered by various event sources and notifies appropriate complex events according to the user-specified queries.

Siddhi is a fully open-source, cloud-native, scalable, Streaming and Complex Event Processing System capable of building real-time analytics, data integration, notification and surveillance use cases.

Siddhi understands Streaming SQL queries in order to capture events from diverse data sources, process them, integrate with multiple services and data sources, and publish output to various endpoints in real-time.

411 questions
0
votes
1 answer

Adding multple queries in SiddhiManager & referring intermediate stream

With Siddhi 1.x we could do: siddhiManager.defineStream("define stream firstStream ( id int, name string)"); siddhiManager.defineStream("define stream secondStream ( id int, name string)"); siddhiManager.defineStream("define stream…
Amy
  • 85
  • 2
  • 7
0
votes
1 answer

WSO2 CEP + Handle null values

Currently WSO2 CEP is triggered using some Http requests. But some times triggered request has null values. At that time how to handle those null values using CEP.
Saveendra Ekanayake
  • 3,153
  • 6
  • 34
  • 44
0
votes
1 answer

Update MySQL Database using WSO2 CEP

Is there any way to update the MySQL Db without updating the empty values in the stream. If my input data stream contains some empty values, currently that empty value is indicate using "data_empty" value. At that time CEP update the DB with that…
Saveendra Ekanayake
  • 3,153
  • 6
  • 34
  • 44
0
votes
1 answer

Extended Siddhi event-table to PostgreSQL

I need to use an event-table with connection to a PostgreSQL db on execution plan. I tried to extend the Siddhi extension RDBMS event table (from siddhi-master branch) and while doing the jUnit tests I can interact successful with the database. I…
cat1989
  • 3
  • 2
0
votes
1 answer

Howto search In-Memory table records by REST API?

We are using WSO2 DAS. We defined table(in-memory table) by siddhi, and we want to use DAS REST API to search this table's record, we use curl -k -XGET 'https://localhost:9443/analytics/table_exists?table=table1' -H "Authorization: Basic…
yeahliu
  • 154
  • 1
  • 8
0
votes
1 answer

Order excecution in Siddhi on wso2cep

I'm new on Stackoverflow even if I solved a lot of problems with your hints. Now I have a problem I have not found the solution. I'm developing a pushing service using the WSO2 CEP and the GCM. CEP handles the subscribe/unsubscribe requests and the…
0
votes
1 answer

Siddhi CEP: Aggregate functions with time window don't "remove" values from aggregation

Using Siddhi 3.0.3 as Java library. I've developed custom aggregation functions by extending AttributeAggregator class, and I've seen some strange behavior after processRemove() method is called. When processRemove() is called, I remove the value…
DBug
  • 2,502
  • 1
  • 12
  • 25
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 - 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

How to integrate the existing system in WSO2 DAS

We have a large number of algorithms written in C++ and Java. Now we want to introduce the WSO2 DAS platform. Where and how can we integrate these algorithms with DAS? I should explain more info: these algorithms are running realtime analytics, but…
yeahliu
  • 154
  • 1
  • 8
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

Understanding Window query type in Siddhi

I am trying to implement a basic window on an input stream in siddhi. This is the window query executionPlan = "" + "define stream inputStream (height int); " + "" + "@info(name = 'query1') " + …
shshnk
  • 1,621
  • 14
  • 26
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

Callback when the query has finished processing in Siddhi

I am writing a small CEP program using Siddhi. I can add a callback whenever a given filter outputs a data like this executionPlanRuntime.addCallback("query1", new QueryCallback() { @Override public void receive(long timeStamp,…
shshnk
  • 1,621
  • 14
  • 26
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