You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Kenneth Knowles (JIRA)" <ji...@apache.org> on 2018/06/30 03:47:00 UTC

[jira] [Resolved] (BEAM-4652) PubsubIO: create subscription on different project than the topic

     [ https://issues.apache.org/jira/browse/BEAM-4652?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Kenneth Knowles resolved BEAM-4652.
-----------------------------------
       Resolution: Fixed
    Fix Version/s: 2.6.0

> PubsubIO: create subscription on different project than the topic
> -----------------------------------------------------------------
>
>                 Key: BEAM-4652
>                 URL: https://issues.apache.org/jira/browse/BEAM-4652
>             Project: Beam
>          Issue Type: New Feature
>          Components: io-java-gcp
>            Reporter: Kenneth Knowles
>            Assignee: Kenneth Knowles
>            Priority: Critical
>             Fix For: 2.6.0
>
>          Time Spent: 5h 40m
>  Remaining Estimate: 0h
>
> If you try to read a public pubsub topic in the DirectRunner, it will fail with 403 when trying to create a subscription. This is because it tries to create a subscription on the shared public data set.
> There is an example used in https://github.com/googlecodelabs/cloud-dataflow-nyc-taxi-tycoon and the dataset is {{projects/pubsub-public-data/topics/taxirides-realtime}}. I discovered that I could not read this in the DirectRunner even though the codelab works. But that 1.x codelab also does not work in the InProcessPipelineRunner, so it has been broken all along.
> So you cannot read public data or any other read-only data using PubsubIO.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)