Friday, January 11, 2013

Using Siddhi CEP as a Java library


WSO2 Complex Event processor uses Siddhi as the Backend Runtime Engine, which was initially developed at http://siddhi.sourceforge.net/, and its development is now being continued as a commons project of WSO2 Inc.
Siddhi under Apache License V2, and its a product designed for real time processing both in standalone mode and in distributed mode.

Siddhi is basically a Java library that's embedded in WSO2 CEP server to provide enterprise integration for Complex Event Processing.

Since Siddhi is just a java library here are some samples demonstrating siddhi’s capabilities as a library.

You can find the WSO2 CEP product from: 

You can find the Documentation for WSO2 CEP from: 

You can find the Documentation for Siddhi Language Specification from: 

8 comments:

  1. Thank you for the instructions.

    Is Siddhi available at a maven repository?

    ReplyDelete

  2. Yes, you can add that using the following Maven dependency configuration

    <dependency>
    <groupId>org.wso2.siddhi</groupId>
    <artifactId>siddhi-api</artifactId>
    <version>2.0.0-wso2v1</version>
    </dependency>
    <dependency>
    <groupId>org.wso2.siddhi</groupId>
    <artifactId>siddhi-core</artifactId>
    <version>2.0.0-wso2v1</version>
    </dependency>
    <dependency>
    <groupId>org.wso2.siddhi</groupId>
    <artifactId>siddhi-query</artifactId>
    <version>2.0.0-wso2v1</version>
    </dependency>

    and by adding the following WSO2 public Maven2 repository

    <repositories>
    <repository>
    <id>wso2-maven2-repository</id>
    <name>WSO2 Maven2 Repository</name>
    <url>http://dist.wso2.org/maven2</url>
    </repository>
    </repositories>

    ReplyDelete
  3. This information should be made available in the WSO2 CEP user guide.

    ReplyDelete
  4. Hi,

    Don't suppose you know where I can get the source code for 2.0.0-wso2v4? Using it within a java project and trying to debug it is a nightmare without it! Thanks

    ReplyDelete
    Replies
    1. Never mind, found it :)
      https://svn.wso2.org/repos/wso2/carbon/platform/trunk/dependencies/commons/siddhi/2.0.0-wso2v4/

      Delete
  5. Notwithstanding his item advancement endeavors he has given innovation counseling on client engagements, including client QuickStart programs mostly centered around SAP coordination. ๏ Lasantha Fernando - lasantha@wso2.com Lasantha joined WSO2 in February 2013. He is a product architect working in the Data innovations group where he fundamentally concentrates on the WSO2 Complex Event Processing Server. Notwithstanding his item improvement endeavors he has given innovation counseling on client engagement

    ReplyDelete
  6. Very inspiring and helpful too.Hope you continue to share more of your ideas.I will definitely love to read.


    CatNinja.org
    Wormateio

    ReplyDelete