[ 
https://issues.apache.org/jira/browse/BEAM-3453?focusedWorklogId=381348&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-381348
 ]

ASF GitHub Bot logged work on BEAM-3453:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 04/Feb/20 03:03
            Start Date: 04/Feb/20 03:03
    Worklog Time Spent: 10m 
      Work Description: angoenka commented on pull request #10762: [BEAM-3453] 
Use default project when creating pubsub subscription
URL: https://github.com/apache/beam/pull/10762#discussion_r374450518
 
 

 ##########
 File path: sdks/python/apache_beam/runners/direct/transform_evaluator.py
 ##########
 @@ -516,7 +524,7 @@ def get_subscription(cls, transform, project, 
short_topic_name,
 
     sub_client = pubsub.SubscriberClient()
     sub_name = sub_client.subscription_path(
-        project, 'beam_%d_%x' % (int(time.time()), random.randrange(1 << 32)))
+        sub_project, 'beam_%d_%x' % (int(time.time()), random.randrange(1 << 
32)))
 
 Review comment:
   We can fall back to topic's project if this fails. This also maintains the 
current functionality.
 
----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 381348)
    Time Spent: 40m  (was: 0.5h)

> Allow usage of public Google PubSub topics in Python DirectRunner
> -----------------------------------------------------------------
>
>                 Key: BEAM-3453
>                 URL: https://issues.apache.org/jira/browse/BEAM-3453
>             Project: Beam
>          Issue Type: New Feature
>          Components: sdk-py-core
>    Affects Versions: 2.2.0
>            Reporter: Charles Chen
>            Priority: Major
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Currently, the Beam Python DirectRunner does not allow the usage of data from 
> public Google Cloud PubSub topics.  We should allow this functionality so 
> that users can more easily test Beam Python's streaming functionality.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to