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
2
votes
2 answers

Writing a Custom Extension Siddhi

I have a java program for create a siddhi extension, my code is the next: package co.com.easysol.phisingRestClient; import java.io.StringReader; import javax.json.Json; import javax.json.JsonReader; import javax.ws.rs.client.Client; import…
2
votes
1 answer

Aggregate WSO2 CEP Siddhi events to a single json object

I'm trying to build an execution plan which aggregates different events into one and counts the occurrence (CurrentEventId). The plan looks like the following: define stream inStream (correlation_EventName string, LastEventId int, CurrentEventId…
Seb Krae
  • 311
  • 3
  • 10
2
votes
1 answer

How to convert stream which contains event sequence

I have written a custom http receiver, it get events from another system, and the json sample like…
yeahliu
  • 154
  • 1
  • 8
2
votes
1 answer

Writing a sequence query in Siddhi

I am trying to implement a sample project in Siddhi. There is an input event stream with one attribute height. I want to write a sequence query that gives a callback when there are three successive events with same height. I have referred to this…
shshnk
  • 1,621
  • 14
  • 26
2
votes
2 answers

How to use window.frequent?

Anybody can give me a example about how to use window.frequent? For example, I write a test, "define stream cseEventStream (symbol string, price float, time long);" + "" + "@info(name = 'query1') " + "from cseEventStream[700 >…
fxjwind
  • 31
  • 3
2
votes
2 answers

Siddhi CEP as library : Number of ExecutionPlan per SiddhiManager instance

I am new to Siddhi CEP. We are planning to use it as a standalone java library. We planned to have one instance of SiddhiManager consuming different event streams with each event stream mapped to one execution plan with queries. In the below mail…
Abirami
  • 87
  • 7
2
votes
1 answer

WS02 CEP Siddhi Queries

New to Siddhi CEP. Other than the regular docs on WS02 CEP can someone point to a good tutorial. Here are our requirements. Point out some clues on the right ways of writing such queries. Have a single stream of sensor device notification ( IOT…
Amit Mehra
  • 21
  • 3
2
votes
0 answers

Siddhi Query Language 'and' operator

I was testing the usage of the 'and' operator and used the example mentioned in the documentation: from every a1 = OrderStock1[action == "buy"] and a2 = OrderStock2[action == "buy"] -> b1 = StockExchangeStream[price…
hgasmi
  • 21
  • 2
2
votes
2 answers

CEP how to detect and report duplicates in a stream?

Is there a way to detect and report duplicates in a stream ? example: A stream of user login data containing tuples with user name and IP address. The goal is to detect login by the same user from different IP within the last 10 seconds. I have…
ron
  • 418
  • 4
  • 12
1
vote
0 answers

org.springframework.beans.factory.BeanCreationException occurs while running jar file of a springboot application

There is a Spring boot application with REST APIs and I need to run the program with its jar file. After I created the jar file from that application, the program returns the following error. The same application is running successfully when it runs…
Nuvindu Nirmana
  • 230
  • 1
  • 8
1
vote
1 answer

How to enable WSO2 Carbon metrics in Siddhi extensions

Can I know how to enable WSO2 carbon metrics in a Siddhi extension when running a test case written for the extension? Currently, when running a test case, metrics are not returned. Need to know how to make below conditions true if…
Vinoja
  • 94
  • 1
  • 6
1
vote
1 answer

Siddhi partition by request time stamp

How do you partition a request by timestamp? The first minute goes to the first stream and then the rest goes to a second stream for three hours. Then after The three hours, the first minute goes the first stream and the rest go the second…
Hany Morcos
  • 147
  • 1
  • 5
1
vote
2 answers

Flink BlockElement Exception when updating to version 1.14.2

Before, everything works well with flink 1.13.1, lately we update it to flink 1.14.2, the following code is run: and it throws this exception: DataStream> returnsInternal(SiddhiOperatorContext siddhiContext, String[]…
Jim Wen
  • 11
  • 2
1
vote
1 answer

How to integrate WSO 2 Stream Processor and Tibco EMS?

Is there a way to let a WSO2 Stream Processor Siddhi application send messages to JMS queue in Tibco EMS? This guide here demonstrates how you can do it with ActiveMQ, but how can I set it up with Tibco EMS as a sink? I found this PR with a doc…
vod0029
  • 45
  • 4
1
vote
0 answers

Leak on SiddhiRuntime

I'm using Siddhi 5.1.15 and Java. I few days I have done some dump and I have notice that my dominator and possible leak. MAT Analizer Screenshot MAT Analizer2 Screenshot MAT Analizer2 Screenshot I am concerned about how the…
1 2
3
27 28