On a keyed stream, I would like to compute a window function once per new incoming event, immediately as soon as the new event arrives, while providing it with the context of all earlier events of this key from within the last 30 days as an iterator.
The expected behavior is similar to that of a sliding window with 30 days length and 1 nanosecond slide, computing the window function only once per incoming event.
I cannot see how to map this behavior on top of the built-in Tumbling/Sliding/Session windows with/without Triggers/Evictors, etc.
Can anybody help? Or does this require to write my own Window Assigner or my own keyed state handling?