Complex Event Processing (CEP) is a mechanism to scan a set of facts or events with the objective of detecting or retrieving business meaningful events inside input events based on the hierarchy between them, causality, and timing. Complex event processing identifies unusual state changes that have a business impact among a set of facts within a time frame.
An event in CEP represents a record of a change that took place in the past during the system lifecycle. Events are immutable, have strong temporal constraints, and are represented as POJO objects. A CEP event can be classified in into two categories:
- Interval-based event: Events have a nonzero duration, and they are persisted in the working memory until their duration expires
- Point-in-time event: They have a zero duration
A CEP scenario generally consists of associating a time frame to a specific...