Use Pub/Sub to send and receive real-time messages
Author(s):
@jscud
,
Published: 2019-07-31
Jeff Scudder | Software Engineer | Google
Contributed by Google employees.
Use this interactive walkthrough to get a brief introduction to the command-line interface for Pub/Sub, using the gcloud
command-line tool.
There are step-by-step instructions in the Learn panel on the right side of the Cloud Console to guide you.
What you'll do
In this walkthrough you’ll do the following:
- Create a Pub/Sub topic.
- Publish messages to that topic.
- Retrieve messages sent to that topic.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see our Site Policies. Java is a registered trademark of Oracle and/or its affiliates.