Is there an open-source complex event processing (CEP) engine for ruby?
I'm looking specifically for something that offers stateful analysis, not just rules-engine-style antecedent-predicate productions.
It's possible to make use of the Java based Esper CEP by using JRuby. This blog post gives a quick, but clear, run through with a basic example.
I haven't been following the CEP scene too closely (I worked with Cayuga from Cornell University, now open source, and Esper around 2006-2007), but I haven't heard of one yet. Most of them appear to be in .NET, Java, and C/C++. There are some event-related libraries for Ruby, but none seem to be anywhere near the capabilities of CEP engines such as Esper or StreamBase.