siddhi-execution-priority
The siddhi-execution-priority extension is an extension to Siddhi that keeps track of the priority of events in a stream.
Find some useful links below:
Latest API Docs
Latest API Docs is 5.0.1.
How to use
Using the extension in WSO2 Stream Processor
-
You can use this extension in the latest WSO2 Stream Processor that is a part of WSO2 Analytics offering, with editor, debugger and simulation support.
-
This extension is shipped by default with WSO2 Stream Processor, if you wish to use an alternative version of this extension you can replace the component jar that can be found in the
<STREAM_PROCESSOR_HOME>/lib
directory.
Using the extension as a java library
- This extension can be added as a maven dependency along with other Siddhi dependencies to your project.
<dependency>
<groupId>org.wso2.extension.siddhi.execution.priority</groupId>
<artifactId>siddhi-execution-priority</artifactId>
<version>x.x.x</version>
</dependency>
Jenkins Build Status
Branch | Build Status |
---|---|
master |
Features
- time (Stream Processor)
The PriorityStreamProcessor keeps track of the priority of events in a stream. When an event with a new unique key arrives, PriorityStreamProcessor checks the priority and if the priority is 0 the event is sent out without being stored internally. If the event has a priority greater than 0, it is stored in the stream processor and the current priority is injected into that event. When an event with an existing priority key arrives, it is stored as the recent event and the priority is increased by the priority of the received event, and the priorityKey and the currentPriority is injected into the event. After every given timeout, priority of every event is reduced by 1 and the updated priority is sent out with the last known attributes of those events. It continues until their priorities reduce to 0.
How to Contribute
-
Please report issues at GitHub Issue Tracker.
-
Send your contributions as pull requests to master branch.
Contact us
-
Post your questions with the "Siddhi" tag in Stackoverflow.
-
Siddhi developers can be contacted via the mailing lists:
Developers List : [email protected]
Architecture List : [email protected]
Support
-
We are committed to ensuring support for this extension in production. Our unique approach ensures that all support leverages our open development methodology and is provided by the very same engineers who build the technology.
-
For more details and to take advantage of this unique opportunity contact us via http://wso2.com/support/.