GCP Pub/Sub

GCP Pub/Sub #

Messaging.

Getting started #

  1. 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 -sub appended.

  2. Create subscription. Add another subscription. Give it a Subscription ID. Hit Create. This links the subscription to the topic and receives messages from the topic.

  3. Publish messages. Click on Topics -> Messages. Select Publish Message, then from there, just publish a sample message.

  4. Pull messages. Go to Subscriptions, select the relevant Subscription ID, go to the Messages tab, then click Pull. This should reveal the previously published message.

Tada!