Igal Shilman created FLINK-17644: ------------------------------------ Summary: Add support for state TTL. Key: FLINK-17644 URL: https://issues.apache.org/jira/browse/FLINK-17644 Project: Flink Issue Type: Improvement Components: Stateful Functions Reporter: Igal Shilman
The DataStream API supports[state TTL|[https://ci.apache.org/projects/flink/flink-docs-stable/dev/stream/state/state.html#state-time-to-live-ttl]], and it can be made accessible to stateful functions users. To facilitate uses cases as described in [http://apache-flink-user-mailing-list-archive.2336050.n4.nabble.com/Window-processing-in-Stateful-Functions-td34966.html] The proposed approach would extend the PersistedValue, PersistedTable and PersistedBuffer with another constructor that accepts ExpireAfter object which has: * java time duration * refresh on read (boolean) (we should never return an expired entry) In addition, we need to extend the remote function state to support state expiration. -- This message was sent by Atlassian Jira (v8.3.4#803005)