In this section, we are going to cover how we can use the windowing operation inside Storm by using Esper. Esper is an open source event series analysis and event correlation engine for complex event processing (CEP).
Please refer to http://www.espertech.com/products/esper.php to read more details about Esper. Go through the following steps to integrate Storm with Esper:
- Create a Maven project using com.stormadvance for the groupID and storm_esper for the artifactID.
- Add the following dependencies and repositories in the pom.xml file:
<dependencies>
<dependency>
<groupId>com.espertech</groupId>
<artifactId>esper</artifactId>
<version>5.3.0</version>
</dependency>
<dependency>
<groupId>junit</groupId>
...