The siddhi-script-js extension is an extension to Siddhi that allows writing user defined JavaScript functions within Siddhi Applications to process events.
For information on Siddhi and it's features refer Siddhi Documentation.
- Versions 5.x and above with group id
io.siddhi.extension.*
from here. - Versions 4.x and lower with group id
org.wso2.extension.siddhi.*
from here.
Latest API Docs is 5.0.4.
- eval (Function)
This extension evaluates a given string and return the output according to the user specified data type.
- javascript (Script)
This extension allows you to include JavaScript functions within the Siddhi Query Language.
There are no other dependencies needed for this extension.
For installing this extension on various siddhi execution environments refer Siddhi documentation section on adding extensions.
-
We encourage users to ask questions and get support via StackOverflow, make sure to add the
siddhi
tag to the issue for better response. -
If you find any issues related to the extension please report them on the issue tracker.
-
For production support and other contribution related information refer Siddhi Community documentation.