DataflowJavaSDK icon indicating copy to clipboard operation
DataflowJavaSDK copied to clipboard

Cannot create Pubsub subscription when using DirectPipelineRunner and multiple projects.

Open rculbertson opened this issue 8 years ago • 2 comments

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.

rculbertson avatar Apr 26 '16 20:04 rculbertson

Acknowledged. Thanks Ryan!

davorbonaci avatar Apr 27 '16 05:04 davorbonaci

Hi Ryan, I believe this is fixed now (for a while..). Can you confirm?

dhalperi avatar Jun 30 '16 20:06 dhalperi