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

CEP Architecture

The blue arrows in the above diagram depicts to whom the events flow through the system. The Complex Event Processor consists of the following components:

  • CEP Core
  • Broker Core
  • Broker Manager

CEP Core

This is the main component responsible for event processing. CEP Core contains CEP Buckets which are instances of back-end CEP runtime engines that process events, and Data Converters for converting events from Map, XML, and Tuple types to back end CEP engine's event type. Total processing on received events and triggering of new events happen at the back end CEP runtime engine of each bucket.

Broker Core

This is a broker between event server and the CEP Engine. There are four types of brokers which are Local, WS-Event, JMS and Agent. These brokers are responsible for receiving and publishing event on Thrift, SOAP, REST, and JMS transports.

Broker Manager

This component is used to create and configure brokers. When configuring a broker with this component, it provides the type and other essential connection properties of the broker.

CEP UI and Admin Service components are responsible for managing the CEP Buckets by defining various queries and event mappings.