CEP Integration for Apache
Stratos 4.0.0

Manula Thantriwatte
Apache Committer - Stratos(Incubating) , Software Engineer - WSO2 Inc
Agenda
•
•
•
•
•
•
•
•
•
•
•
•
•

Introduction to CEP
Why CEP for Apache Stratos?
CEP Integration
Integration Architecture
Events send to CEP
How to write CEP configs
Stream definition
Input event adapter
Event builder
Execution plan
Event formatter
Output event adapter
Demonstrations

2
Introduction to CEP
Event Processor identifies the most meaningful events within the
event cloud, analyzes their impacts, and acts on them in real
time.
Built to be extremely high performing and massively scalable, it
offers significant time saving and affordable acquisition.
[http://wso2.com/products/complex-event-processor/]

3
CEP Models
•
•
•
•

Oracle Complex Event Processor
TIBCO StreamBase
WSO2 CEP
Informatica RulePoint is complex event processor

4
Why CEP for Apache Stratos

5
Events Send to CEP
•
•
•

Load balancers send “in_flight_requests” periodically to CEP per cluster
Load balancers send “fault_request” periodically to CEP per member
Cartridge agents send “health_status” periodically to CEP per member
–
CPU load average
–

•
•
•

CPU memory consumption

CEP process those events
Calculate average, gradient and second derivative
Publish summarized events to message broker

6
How to write CEP configs

7
Stream definitions

6
Input event adapter

6
Event builder

6
Execution plan

6
Event formatter

7
Output event adapters

8
Demonstration

14
Join Us
Website
http://stratos.incubator.apache.org

Mailing List
Subscribe: dev-subscribe@stratos.incubator.apache.org
Post (After subscription): dev@stratos.incubator.apache.org

Social Media
Google+: https://plus.google.com/103515557134069849802
Twitter: https://twitter.com/ApacheStratos
Facebook: https://www.facebook.com/apache.stratos
LinkedIn: http://www.linkedin.com/groups?home=&gid=5131436
15

CEP Integration for Apache Stratos 4.0.0