You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Jeff Webb (Jira)" <ji...@apache.org> on 2021/09/14 23:14:00 UTC
[jira] [Updated] (BEAM-10192) Duplicate PubSub subscriptions with
python direct runner in Jupyter/Colab environment
[ https://issues.apache.org/jira/browse/BEAM-10192?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jeff Webb updated BEAM-10192:
-----------------------------
Status: Open (was: Triage Needed)
> Duplicate PubSub subscriptions with python direct runner in Jupyter/Colab environment
> -------------------------------------------------------------------------------------
>
> Key: BEAM-10192
> URL: https://issues.apache.org/jira/browse/BEAM-10192
> Project: Beam
> Issue Type: Bug
> Components: io-py-gcp
> Affects Versions: 2.22.0
> Environment: Ubuntu 18 (Colab notebook), Python SDK
> Reporter: Harrison
> Priority: P3
>
> When running a streaming pipeline on Colab with direct runner, ReadFromPubSub can retain old subscriptions and cause message duplication. For example, manually killing a cell that is running a streaming pubsub pipeline does not delete the pubsub subscription. If the cell is rerun, the ReadFromPubSub component will actually be subscribed twice which results in duplicate messages.
> Manually deleting old subscriptions (e.g. via the GCP dashboard) temporarily fixes the problem.
> This Colab notebook: [https://gist.github.com/hgarrereyn/64ce87cbbcbe9c34ccdd13eafe49e3fb] contains a runnable example of the bug.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)