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

Siddhi javascript error could not initialize class io.siddhi.extension.script.js.EvalJavaScript

When I try to use a javascript function I get this error: "could not initialize class io.siddhi.extension.script.js.EvalJavaScript" I see in the lib folder that the siddhi-script-js-5.0.3.jar is there, both in the runner and the tooling, do I need…
2
votes
2 answers

How to update a stream with the response from another stream where the sink type is "http-response"

Am trying to enrich my input stream with an additional attribute which gets populated via "http-response" response sink. I have tried using the "join" with window attribute and with "every" keyword to merge two streams and inserting the resulting…
2
votes
1 answer

Logical Pattern With Sensors

I have two sensors that control lights. when either one detects someone it turns on the light, when both sensors detect nobody it does not show any light. There are two special cases. If someone went to the first sensor and then left without going…
xinnian
  • 23
  • 2
2
votes
1 answer

Siddhi - Business Rule Manager fails when trying to deploy

The WSO2 Business Rule Manager fails when deploy. I'm using Docker to comunicate WSO2-dashboard and WSO2-worker. The error logs shows the following: ERROR {org.wso2.carbon.business.rules.core.services.TemplateManagerService} - Failed to update the…
Diegox
  • 29
  • 7
2
votes
1 answer

How to use deployment.yaml variables inside siddhi app?

In siddhi email documentation it says that the account configurations can be done on the deployment file. But there is no information about how to use those variables and where the deployment yaml should be or which deployment file should be.…
Jorge Monroy
  • 408
  • 1
  • 5
  • 16
2
votes
1 answer

In wso2 stream processor how to change the query dynamically

wso2 stream processor i am using as a complex event processing engine. So, I want to integrate this with front-end application so that dynamic querying can be made. I want only query and retention period(if exists) to be change dynamically using…
ashok
  • 1,078
  • 3
  • 20
  • 63
2
votes
1 answer

Siddhi: Incremental aggregation

I want to group data by time with Siddhi. I have a test based on https://docs.wso2.com/display/SP400/Incremental+Analysis. @App:name("DataAggregation") @App:description("Incremental aggregation") define stream InputStream (sensorid long, value…
Javier
  • 21
  • 1
2
votes
1 answer

Syntax error in SiddhiQL, no viable alternative at input

Using siddhi-io-rabbitmq with a java library. I tried to set the rabbitmq property "app.id" on the "@sink()", but the following error message appears: Syntax error in SiddhiQL, no viable alternative at input '; @sink(type =rabbitmq, uri =…
pedrualves
  • 93
  • 9
2
votes
1 answer

Consolidated output in table with Siddhi WSO2 stream processor

I have the below query in Siddhi (WSO2 Stream Processor) where I am trying to get the final sum by county when I send stream of 10 events (4 events for ABC, 6 events for CDE). But, with the below query I get all the 10 records with sum of the…
divya
  • 21
  • 2
2
votes
0 answers

API authentication failure due to Invalid Credentials : wso2 IOT server

I am using siddhi on android and have registered emulator with IOT server, but the issue is that sometimes it works but sometimes it gives an error like this [2018-02-08 16:24:21,331] [IoT-Core] WARN -…
Amarjit Dhillon
  • 2,718
  • 3
  • 23
  • 62
2
votes
2 answers

No Extension Exists for pmml:predict WSO2 Stream Processor

I am following the WSO2 Stream Processor Studio tutorials to practice Siddhi. So far I've managed to troubleshoot all the bugs incorporated in the tutorials; however, I'm stuck on the 12th tutorial, "Making Real-Time Predictions." The Siddhi…
Emily Shaffer
  • 23
  • 1
  • 5
2
votes
2 answers

Which Open source CEP shoud I choose for distributed and pipelined processing ; siddhi, Flink , Esper?

I am little bised towards siddhi cep as it has siddhi query language but it uses storm for distributed processing and WSO2 provides an web interface / dashboard to create and deploy applications . I think it will give me less independence to enhance…
Amarjit Dhillon
  • 2,718
  • 3
  • 23
  • 62
2
votes
1 answer

Handling null values with wso2 CEP

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, …
datahack
  • 477
  • 1
  • 11
  • 32
2
votes
1 answer

Can we use variables in Siddhi SQL statements?

I'm going to use the same value in lots of statements in the SQL Expression. So it is possible to declare and assign the value to a variable at the beginning of the query and refer the value by it? (I'm writing an execution plan in WSO2 DAS)
PasinduJay
  • 487
  • 5
  • 17
2
votes
0 answers

Exception when WSO2CEP deploys execution plan with trigger to Storm

We have WSO2CEP 4.1.0 in cluster distributed mode and Apache Storm. When execution plan of a flow has trigger it can not be deployed to Storm as topology. When I edit execution plan and press 'Add execution plan' button CEP gives me a popup with…
invenit
  • 424
  • 4
  • 11
1
2
3
27 28