Re: how to aggregate sessions

2018-07-17 Thread vbali
Hi Vincent, Thanks a bunch lot for the explanation. >you can choose when you want to produce your output event based on the state How do I achieve this? I want to hook into the session expiration to call my report function with the accumulated state once the inactivity gap for the given key is e

how to aggregate sessions

2018-07-17 Thread vbali
Hi, My use case includes consuming events for sessions and once an inactivity gap is over creating a detailed report on them. From the docs (using 1.0.1 currently) it is not clear what is the best way to achieve this, it seems actions like reduce and aggregate create results with the same type as