You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Seth Wiesman (Jira)" <ji...@apache.org> on 2020/05/18 19:53:00 UTC

[jira] [Resolved] (FLINK-17644) Add support for state TTL.

     [ https://issues.apache.org/jira/browse/FLINK-17644?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Seth Wiesman resolved FLINK-17644.
----------------------------------
    Resolution: Fixed

> 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
>            Assignee: 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)