[ 
https://issues.apache.org/jira/browse/BEAM-175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17545972#comment-17545972
 ] 

Danny McCormick edited comment on BEAM-175 at 6/3/22 3:26 PM:
--------------------------------------------------------------

This issue has been migrated to [https://github.com/apache/beam/issues/17879]


was (Author: JIRAUSER282469):
This isn't actually real, but this issue has been migrated to 
https://github.com/apache/beam/issues/17879

> Don't leak garbage collection timers in GlobalWindow
> ----------------------------------------------------
>
>                 Key: BEAM-175
>                 URL: https://issues.apache.org/jira/browse/BEAM-175
>             Project: Beam
>          Issue Type: Bug
>          Components: runner-core
>            Reporter: Mark Shields
>            Priority: P3
>
> 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).



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to