Versions Compared

Key

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

...

We’ll deliver a solution of Flink state TTL of the following characteristics:

  • TTL policy in Flink State is exact TTL. User state will be cleaned exactly when its TTL expiresTTL 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.
  • TTL policy in Flink State is exact 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?

...