priority
Version 4.1.1 by WSO2
Category : Siddhi Execution Supported Product Version : SP 4.0.0 SP 4.1.0 SP 4.2.0 SP 4.3.0 SP 4.4.0Summary
Features provided by priority extension
-
Time stream processor
The PriorityStreamProcessor keeps track of the priority of events in a stream.
When an event with new unique key arrives, PriorityStreamProcessor checks the priority and if the priority is 0 the event will be sent out without being stored internally.If the event has a priority greater than 0, it will be stored in the stream processor and the current priority will be injected into that event.
When an event with existing priority key arrives, it will be stored as the recent event and the priority will be increased by the priority of the received event, and the priorityKey and currentPriority will be injected into the event.
After every given timeout, priority of every events will be reduced by 1 and the updated priority will be sent out with the last known attributes of those events.
It will continue until their priority reduced to 0.
Extension
Download the JAR files of released verspriorityns from Maven Central:
https://mvnrepository.com/artifact/org.wso2.extension.siddhi.execution.priority/siddhi-execution-priority
Social Sites