beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kenneth Knowles (JIRA)" <>
Subject [jira] [Commented] (BEAM-1589) Add OnWindowExpiration method to Stateful DoFn
Date Wed, 22 Mar 2017 05:32:41 GMT


Kenneth Knowles commented on BEAM-1589:

Yes, I have had this in mind from the very start. Even though it is fairly minor, I think
it is a good topic for the dev list. I will formulate an email and send shortly. There are
some validation thoughts that the community may have an opinion about.

> Add OnWindowExpiration method to Stateful DoFn
> ----------------------------------------------
>                 Key: BEAM-1589
>                 URL:
>             Project: Beam
>          Issue Type: New Feature
>          Components: runner-core, sdk-java-core
>            Reporter: Jingsong Lee
> 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

View raw message