[
https://issues.apache.org/jira/browse/FLINK-17644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17110569#comment-17110569
]
Seth Wiesman commented on FLINK-17644:
--------------------------------------
Fixed in dd85b1184715a4e19aac527584e00f9e17c47aeb
> 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
> Priority: Major
>
> 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)