Back to Browse

Send data from Cloud Functions to PubSub in Python

10.8K views
Aug 12, 2021
5:09

Download the code: https://gitlab.com/ryanlogsdon/cloud-function-to-pubsub We're going to write a Cloud Function in Python. We'll have it listen with Flask for incoming HTTP and HTTPS data POSTs. And then it'll extract the payload and send that data to Pub/Sub for a more robust message-passing architecture. Timestamps: 0:00 - intro 0:22 - set up PubSub 0:50 - write a Cloud Function 4:11 - testing in Python Detailed PubSub tutorial without cloud functions: https://www.youtube.com/watch?v=xOtrCmPjal8&ab_channel=D-I-Ry Thumbnail Photo by Abdullah Ghatasheh from Pexels

Download

0 formats

No download links available.

Send data from Cloud Functions to PubSub in Python | NatokHD