Category "event-stream-processing"

How to trigger a line of code in window based CEP

I have a stream of events and want to count the number of events in a specific period time to find out event loss. My code is something similar to the following