we are currently testing siddhi wso2 cep.
we need to be able to restart the wso2 server process without loosing data which has been accumulated in a window (for example time window).
Is there a way to make time windows persistent so that the server can be restarted without loosing its state ?
Do we have to configure the server to use persistence ?
Or do we just have to adapt the query and use event table ?
Here a sample of our query:
from every data= DataInStream[state == 1] ->
every event = EventInStream[event.no == data.no] within 24h
insert into duplicatesOutStream data.id as id