[
https://issues.apache.org/jira/browse/FLINK-17755?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17757772#comment-17757772
]
Hangxiang Yu commented on FLINK-17755:
--------------------------------------
Hi, [~roeyshemtov]
Could you also share the specific scenario about this ?
Why you want to get the expired states and what do you want to do with them?
> Support side-output of expiring states with TTL.
> ------------------------------------------------
>
> 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: Minor
> Labels: auto-deprioritized-major
>
> 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 as side-output.
> What do you think?
--
This message was sent by Atlassian Jira
(v8.20.10#820010)