Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • TTL will be supported for both event time and processing time
  • TTL starts to count down when the entry is created by default. Users can specifying TTL trigger policy (see example below) to decide if a state’s TTL will be refreshed upon read or/and update or/and read. More on this later.
  • User state will stay at least its TTL amount of time, which means TTL policy in Flink State is exact or relaxed TTL. User state will be cleaned exactly when its TTL expires 

TTL Policy

How to count the start time of TTL of a user state? Or, in another way to rephrase it, does Flink support extending/refreshing TTL for a user state?

...