You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 16:07:00 UTC

[GitHub] [beam] kennknowles opened a new issue, #17988: Don't leak garbage collection timers in GlobalWindow

kennknowles opened a new issue, #17988:
URL: https://github.com/apache/beam/issues/17988

   Consider the  transform:
     Window
       .into(new GlobalWindows())
       .triggering(
         Repeatedly.forever(
           AfterProcessingTime.pastFirstElementInPane().plusDelayOf(...)))
       .discardingFiredPanes()
   This is a common idiom for 'process elements bunched by arrival time'.
   Currently we create an end-of-window timer per key, which clearly will only fire if the pipeline is drained.
   Better would be to avoid creating end-of-window timers if there's no state which needs to be processed at end-of-window (ie at drain if the Global window).
   
   Imported from Jira [BEAM-175](https://issues.apache.org/jira/browse/BEAM-175). Original Jira may contain additional context.
   Reported by: mshields822.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org