Set up & use PubSub with Python

preview_player
Показать описание

We're going to enable Google Cloud Platform's Pub/Sub API and write a publisher and a subscriber in Python. Then we're going to allow for more than just string data to be sent.

Something to keep in mind is that Pubsub is almost always a nice-to-have. It's not a necessity. We use it to build a workflow with websites and cloud hosting, passing messages between services that otherwise don't talk to each other. Pubsub's great at storing our topic messages and letting cloud functions trigger and fire to keep a workflow running.

Timestamps:
0:00 - intro
0:28 - enable Pub/Sub
1:34 - create a service account
2:40 - Python publisher
4:06 - Python subscriber
6:04 - pass non-string data

Thumbnail Photo by Daniel Absi from Pexels
Рекомендации по теме
Комментарии
Автор

Beautiful & crisp explanation with parallel demo. Thanks for making this video Ryan !
This is really helpful.

suvratrai
Автор

Haha, you are such a positive person, I believe the people around you are very lucky because they always see your smile and it is energizing. You are truly an example of a happy life.

Thanks for the smile

Saneka
Автор

Literally exactly what I was looking for! Thank you so much. You got yourself a subscriber.

teddyfulk
Автор

Beautiful explanation, thank you so much !!!!

sebastiancalderon
Автор

Great, concise tutorial, thanks a lot!

micropythonarduino
Автор

Hi Ryan, this is so helpful! Thank you!

RivenOmg
Автор

Thanks for this wonderful tutorial. Concise, clear, and easy to follow. Delivered in the calmest fashion.

olajuwonadebayo
Автор

Concise and easy-understanding! Nice work!

timkao
Автор

Excellent tutorial, straight to the point. You made my day. Thank you so much!

techgik
Автор

thanks a lot, you've helped a brazilian!

Victor-hcgq
Автор

Hey Ryan, I was looking a simple explanation and It seemed me excellent. Thanks for the video!

jamunv
Автор

great explanation! thank you very much

oussamaladhari
Автор

Awesome man thanks for sharing. This is gold!

thiagobarrichelo
Автор

Thank you very much, you helped me a lot, greetings from Colombia.

Andres_Alba
Автор

Quick and clear... Rly great tutorial!

chonyy
Автор

Thanks for the video Ryan, super easy to follow.

ElCanalMeu
Автор

Great post, clear and straightforward! Thanks for sharing!

FabianoRomanBeraldifrb
Автор

Crystal clear! Thanks for the video. Nice Made!~

jaytian
Автор

Wow, such a clear explanation! Thank you! And the question is: how to make that stuff multithreaded?

olegpopov
Автор

this is an awesome tutorial, thank you!

michelkluger