How to use existing PubSub Subscription with Google-Provided PubSub to BigQuery Dataflow Template

送分小仙女□ 提交于 2019-12-22 18:29:48

问题


I am trying to setup a Dataflow job using the google provided template PubSub to BigQuery. I see an option to specify the Cloud Pub/Sub input topic but I don't see any option to specify Pub/Sub input subscription in GCP console UI.

If I provide the topic, job would automatically create a subscription to read the messages from the provided topic. Problem with this is, the job will see only messages published to the topic after the Dataflow job has started. Anything published before to the same topic would be ignored.

I don't have any complex transformations to do in my job. So the google provided template would work for me out of the box. But the lack of ability to specify my own subscription is bothering me. I don't want to setup a custom job pipeline just for this reason. Anybody know if there is a workaround for this?


回答1:


That's not currently supported. However its a great use case and is on the Google Cloud Team's radar.

If you can email me at bookman@google.com I'll be sure to keep you posted on development to enable this.

Appreciate the Feedback,

Colin



来源:https://stackoverflow.com/questions/48212348/how-to-use-existing-pubsub-subscription-with-google-provided-pubsub-to-bigquery

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!