Hi!
You can use DynamicProcessingTimeSessionWindows with your
own SessionWindowTimeGapExtractor implementation. You can count the number
of records processed in the extractor and return a time gap of almost zero
(but not exactly zero, as it is invalid) if the number of records exceeds
the limit.
It seems there is no way to set a maximum size of events for a session
window.
This results in a security vulnerability.
Example: I am recording all the user interaction events of a browser
session. A malicious user can then generate hundreds of thousands or even
millions of events, and cause out o