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

Kenneth Knowles commented on BEAM-2988:
---------------------------------------

This issue has been migrated to https://github.com/apache/beam/issues/18518

> PubSub subscriptions automatically created in Python DirectRunner not 
> reliably cleaned up
> -----------------------------------------------------------------------------------------
>
>                 Key: BEAM-2988
>                 URL: https://issues.apache.org/jira/browse/BEAM-2988
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-core
>            Reporter: Charles Chen
>            Priority: P3
>
> In the Python DirectRunner, we attempt to garbage-collect 
> automatically-created PubSub subscriptions here 
> (https://github.com/apache/beam/blob/446f311746b74bdfb420ba71d76097d683fde9a1/sdks/python/apache_beam/runners/direct/transform_evaluator.py#L370).
>   However, this mechanism may not succeed, since it is called on the __del__ 
> method when other references may have already been garbage-collected.  We 
> should further investigate the mechanism here and attempt to make it more 
> reliable.



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

Reply via email to