Hi Vasily

After Flink-1.10, state will be cleaned up periodically as CleanupInBackground 
is enabled by default. Thus, even you never access some specific entry of state 
and that entry could still be cleaned up.

Best
Yun Tang
________________________________
From: Vasily Melnik <vasily.mel...@glowbyteconsulting.com>
Sent: Saturday, May 30, 2020 23:29
To: user <user@flink.apache.org>
Subject: State expiration in Flink

Hi .
I'm a bit confused with this point in State TTL documentation:
" By default, expired values are explicitly removed on read, such as 
ValueState#value, and periodically garbage collected in the background if 
supported by the configured state backend. "
Does it mean, that  if i have only one event with specific key, it's state will 
never be cleaned on TTL expiration cause of i will never call value method for 
this key again?


Reply via email to