You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Roey Shem Tov (Jira)" <ji...@apache.org> on 2020/05/16 10:57:00 UTC

[jira] [Updated] (FLINK-17755) Expiring states should be given as side output

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

Roey Shem Tov updated FLINK-17755:
----------------------------------
    Description: 
When we set a StateTTLConfig to StateDescriptor, then when a record has been expired, it is deleted from the StateBackend.

I want suggest a new feature, that we can get the expiring results as side output, to process them and not just delete them.

For example, if we have a ListState that have a TTL enabled, we can get the expiring records in the list in side-output.

What do you think?

  was:
When we set a StateTTLConfig to StateDescriptor, then when the records is expiring it is deleted from the StateBackend.

I want suggest a new feature, that we can get the expiring results as side output, to process them and not just delete them.

For example, if we have a ListState that have a TTL enabled, we can get the expiring records in the list in side-output.

What do you think?


> Expiring states should be given as side output
> ----------------------------------------------
>
>                 Key: FLINK-17755
>                 URL: https://issues.apache.org/jira/browse/FLINK-17755
>             Project: Flink
>          Issue Type: New Feature
>          Components: API / State Processor
>            Reporter: Roey Shem Tov
>            Priority: Major
>             Fix For: 2.0.0, 1.12.0
>
>
> When we set a StateTTLConfig to StateDescriptor, then when a record has been expired, it is deleted from the StateBackend.
> I want suggest a new feature, that we can get the expiring results as side output, to process them and not just delete them.
> For example, if we have a ListState that have a TTL enabled, we can get the expiring records in the list in side-output.
> What do you think?



--
This message was sent by Atlassian Jira
(v8.3.4#803005)