Re: How do I trigger clear custom state in ProcessWindowsFunction

2020-07-18 Thread David Anderson
ProcessWindowFunction#process is passed a Context object that contains public abstract KeyedStateStore windowState(); public abstract KeyedStateStore globalState(); which are available for you to use for custom state. Whatever you store in windowState is scoped to a window, and is cleared whe

How do I trigger clear custom state in ProcessWindowsFunction

2020-07-18 Thread ?g???U?[????
Dear all: How do I clear custom state in ProcessWindowsFunction? Because there is no onTimer method in ProcessAllWindowFunction. Thanks Jiazhi