is it possible to detect the absence of a certain event type within a given time window without using any other event types in Esper?
Thanx ;)
is it possible to detect the absence of a certain event type within a given time window without using any other event types in Esper?
Thanx ;)
Outer joins are also a good way to detect the absence of an event.
You can take a look at the solution patterns here for some ideas: http://www.espertech.com/esper/solution-patterns#absence-1
Here is an adapted example of detecting an absence of an event, after it has been fired once:
This will fire only once, if after an EventX is received, no other EventX arrives within 10 seconds...
This example:
Will fire every 10 seconds if no EventX has been receive during that time (and keep firing like this forever).