You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Kenneth Knowles (Jira)" <ji...@apache.org> on 2020/09/17 00:01:33 UTC

[jira] [Assigned] (BEAM-1589) Add OnWindowExpiration method to Stateful DoFn

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

Kenneth Knowles reassigned BEAM-1589:
-------------------------------------

    Assignee: Reuven Lax  (was: Kenneth Knowles)

> Add OnWindowExpiration method to Stateful DoFn
> ----------------------------------------------
>
>                 Key: BEAM-1589
>                 URL: https://issues.apache.org/jira/browse/BEAM-1589
>             Project: Beam
>          Issue Type: New Feature
>          Components: runner-core, sdk-java-core
>            Reporter: Jingsong Lee
>            Assignee: Reuven Lax
>            Priority: P2
>              Labels: stale-P2
>          Time Spent: 13h 40m
>  Remaining Estimate: 0h
>
> See BEAM-1517
> This allows the user to do some work before the state's garbage collection.
> It seems kind of annoying, but on the other hand forgetting to set a final timer to flush state is probably data loss most of the time.
> FlinkRunner does this work very simply, but other runners, such as DirectRunner, need to traverse all the states to do this, and maybe it's a little hard.



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