mardi 5 janvier 2016

Boolean logic with events

Hello guys,

I want to share with you one thing that I have faced recently, It was about to do boolean logic with event stream.

My issue was to compute some expression that uses time range sequences like

there as been at least one click during 10 minutes then the user open a new window within 1 minute then he click on button A within 10 secondes or on button B within 30 seconds.

Guess what, it is not easy to compute that.

Here is the solution in java (easily convertible to something different)

https://github.com/pocamin/ComplexEventLogic