DataflowJavaSDK
DataflowJavaSDK copied to clipboard
Cannot create Pubsub subscription when using DirectPipelineRunner and multiple projects.
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.
Acknowledged. Thanks Ryan!
Hi Ryan, I believe this is fixed now (for a while..). Can you confirm?