Hi Ori,
Once a session ends, it's state should get purged. You should take care that a session does end.
For example, if you wait for a 'session-end' event, limit it with some time threshold. If it's defined with inactivity gap and your client sends infinite events, you could limit the session length to enforce a new session (may be simpler done on the client side).
Hi,
When working with an ever growing key-space (let's say session ID), and a SessionWindow with a ProcessFunction - should we worry about the state growing indefinitely? Or does the window make sure to clean state after triggers?
Thanks