WSO2 CEP event lifecycle -


is there document/article explaining event lifecycle in wso2 cep? dont quite understand how events discarded event streams.

thank you, hugo calado

events discarded immediately. basic flow stream receive events , receivers , push events publisher without storing. if want collect event time periods can use somwthing time windows in siddhi execution plans [1].

in following siddhi query collects events 10 minutes , insert avgtempstream calculating average stream. in case events stored 10 minutes in memory.

from tempstream#window.time(10 min) select avg(temp) avgtemp, roomno, deviceid insert events avgtempstream; 

[1] https://docs.wso2.com/display/cep400/siddhiql+guide+3.0#siddhiqlguide3.0-window


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -