GCP Pub/Sub #
Messaging.
Getting started #
-
Create topic. This creates a topic with a name of your choosing, and by default, also creates an associated topic, with the same name as the topic, with a-subappended. -
Create subscription. Add another subscription. Give it aSubscription ID. HitCreate. This links the subscription to the topic and receives messages from the topic. -
Publish messages. Click on Topics -> Messages. SelectPublish Message, then from there, just publish a sample message. -
Pull messages. Go toSubscriptions, select the relevantSubscription ID, go to theMessagestab, then clickPull. This should reveal the previously published message.
Tada!