This documentation is for WSO2 Complex Event Processor 4.0.0. View documentation for the latest release.

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Here the events will be emitted every time when the predefined number of events have arrived, when emitting it can be specified to emit only the first event, last event, or all events from the arrived events.

Ee.g., Emit the last temperature event per sensor every 10 events    

Code Block
languagesql
linenumberstrue
from TempStream
select temp
group by deviceID
output last every 10 events
insert into LowRateTempStream;

...