Esper is a event stream engine for intelligent complex event processing. Follow the short instruction at here and the full tutorial. For deeper understanding on their event processing language (EPL), look into this reference.
- Checkout Esper sources: svn co http://svn.codehaus.org/esper/esper/
- Using databases as the streaming source: Check Esper's source code and find package com.espertech.esper.regression.db
- Using real-world time as the source: Check Esper's manual on 14.7 Controlling Time-Keeping and 14.9 Service Isolation
- Offline analysis for database recorded time series data: http://esper.codehaus.org/tutorials/solution_patterns/solution_patterns.html#design-5
Note on Installing Necessary Gems for Tutorial
sudo jruby -S gem update
sudo JRUBY_OPTS="-Xcext.enabled=true" jruby -S gem install tweetstream
Using Twitter Java Client for Streaming
Our next try was directly using Twitter's Java client interface, hbc. This works well and also the integration with esper was easy too.