>

Wednesday, September 30, 2015

Extending Siddhi 3.0


Siddhi[1] 3.0.0 is released now with lots of new features and improved performance. Some of the main features supported by siddhi are,
  • Filter 
  • Join 
  • Aggregation 
  • Stream handlers (e.g:- WIndows) 
  • Pattern processing 
  • Sequence processing 
  • Event Tables

In addition to above, Siddhi facilitates writing various types of extensions via its plugable architecture. Siddhi is shipped with in-built set of extensions including,

Not only these extension we can write our own 
  1. aggregators
  2. functions
  3. windows
  4. stream functions 
  5. stream processors 
easily which can be used with siddhi queries. It's simply a matter of extending a siddhi interface and adding the mapping file to map the extension class with its function name and namespace.

Check my next blog posts for detailed info on writing extensions for each of the five types.



You can read more about extensions from [2] and [3].


[1]https://github.com/wso2/siddhi
[2]https://docs.wso2.com/display/CEP400/SiddhiQL+Guide+3.0#SiddhiQLGuide3.0-SiddhiExtensions
[3]https://docs.wso2.com/display/CEP400/Writing+Extensions+to+Siddhi