简体   繁体   中英

pubsub to bigquery without dataflow using python

I am looking to execute a code to read data from pub sub and store into a Big Table using python code.The requirement is not to use data flow options.

Could you please let me know for any template or sample code to achieve the same.

Thanks in Advance!.

You could use Google Cloud Functions, it has PubSub as a trigger:

https://cloud.google.com/functions/docs/calling/pubsub

Your cloud function will receive the pubsub event and can then inject it into bigquery

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM