Skip to content
This repository was archived by the owner on Nov 11, 2022. It is now read-only.
This repository was archived by the owner on Nov 11, 2022. It is now read-only.

Cannot create Pubsub subscription when using DirectPipelineRunner and multiple projects. #220

@rculbertson

Description

@rculbertson

When using the DirectPipelineRunner, PubsubIO creates the subscription in the same project as the topic you want to read from. This only works if you have permissions to create subscriptions in that project. If you only have subscriber permissions for that topic, it fails with 403 User not authorized to perform this action.

This works when using the DataflowPipelineRunner, because it creates the subscription in the project specified in DataflowPipelineOptions. This allows you to create the subscription in a project you own, and consume from a topic in another project where you have limited permissions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions