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
1
vote
1 answer

On-Demand Query with siddhi fails

I'm using the wso2 stream integrator in order to run my siddhi application. The operating environment is windows 10 pro. I'd like to ask you for your help about way of using Siddhi's REST API. Open a command prompt as the administrator and go to…
1
vote
0 answers

Siddhi Reading input jsonarray with each element with multiple fields inside

I have an inputstream that is a json array, each element of the array has a lot of fields, around 50. I tried to read the json elements with a JavaScript function but it doesn't work. Do you have any idea of how to do it? The error that I got with…
1
vote
1 answer

Can Someone help me to solve this issue in Siddhi Stream Processor?

[2020-05-06_16-31-42_744] ERROR {com.zaxxer.hikari.pool.HikariPool} - HikariPool-32 - Exception during pool initialization. java.sql.SQLException: The server time zone value 'unknown' is unrecognized or represents more than one time zone. You must…
1
vote
2 answers

CDC with WSO2 Streaming Integrator and Postgres DB

I am trying to setup Change Data Capture (CDC) between WSO2 Streaming Integrator and a local Postgres DB. I have added the Postgres Driver (v42.2.5) to SI_HOME/lib and I am able to read data from the database from a Siddhi application. I am…
1
vote
0 answers

Error starting Siddhi App in WSO2 Stream Processor: javax/jms/JMSContext

I'm trying to use a queue from Tibco EMS as a source of the Siddhi application. For that, I used the documentation about ActiveMQ as a reference and generated successfully the OSGi-converted jar for the tibjms.jar. Within this step I was able to…
1
vote
0 answers

SASL support in WSO2 Stream Processor / Siddhi

Qs (1) Does Siddhi application support connecting to Kafka using SASL_SSL protocol with PLAIN as SASL Mechanism. Qs (2) If not what SASL options are available. I am using WSO2 Streaming Processor 4.4. Below is a simple program that's expected to…
Amit Kumar
  • 11
  • 2
1
vote
1 answer

wso2 Error 'within' is neither a function extension nor an aggregated attribute extension Android

I am doing an android app and embedding with Wso2 (Siddhi). I have imported the geo-gpl-extension as a jar file but when I run the app the following error occur: 2020-02-05 13:38:45.141 26382-26382/uca.es.geofencingsiddhi E/AndroidRuntime: FATAL…
FVD
  • 11
  • 4
1
vote
1 answer

Best approach for comparing message in event with pre-defined strings

I have some predefined string which number around 100. I have an input stream where i am receiving events and want to check whether the message in the event contain any of the predefined strings as their substring. I am using SiddhiQL. What is the…
1
vote
1 answer

Regex is not working properly inside WSO2 but giving proper response on java regex tester

I have a json in text format on which i am using regex to extract part of it. My regex is working fine on online java regex tester but same regex is giving me null in wso2 stream processor. Regex :…
Rahul Anand
  • 523
  • 1
  • 7
  • 20
1
vote
1 answer

Convert text format to json in WSO2 stream processor/ regex for custom text mapping in WSO2SP

I have a wso2 stream processor code where i am receiving input from kafka as text format because debezium mongodb connector gives out a lengthy output and it's not a valid json to send to WSO2. So, i am receiving it as text and plans to use regex to…
Rahul Anand
  • 523
  • 1
  • 7
  • 20
1
vote
1 answer

How Siddhi application in WSO2 SP handles an incoming data stream during redeployment?

The topic is too big for me and I'm struggling with identifying a clear question. And I cannot find something in WSO2 Stream Processor documentation. I've got a deployment of WSO2 SP on one machine. No Kafka integration, only enabled database…
Alexander Goida
  • 305
  • 1
  • 11
1
vote
1 answer

Unable to handle responses using 'regex' http status codes in Siddhi

I was trying to handle/receive all the responses with the 2xx status codes with the 'regex' http response code '2\d+' but it was not handling it as expected.When I enter the http status code directly (for example '202') then it was handling the…
1
vote
1 answer

Merge attributes from two streams in siddhi

My intention is to merge attributes from two streams in siddhi. I'm using the "join" with window attribute to merge two streams in my siddhi query and inputting the result of the join to another stream to enrich it. The window attributes…
1
vote
1 answer

Unable to install pysiddhi

I get this message when I run !pip install pysiddhi on Spyder's IPython console. Collecting pysiddhi Could not find a version that satisfies the requirement pysiddhi (from versions: ) No matching distribution found for pysiddhi I'm trying to…
dilip sundar
  • 91
  • 1
  • 7
1
vote
1 answer

Distributed Wso2sp not deploying Siddhi app with JavaScript

I am trying run a siddhi app with javascript functions, but when I send the app to the manager in order to deploy it in the distributed workers, it never deploys. I tried removing the reference to the javascript function in the queries, and it…
grisaf
  • 76
  • 3