menu
arrow_back

Google Cloud Pub/Sub: Qwik Start - Command Line

Google Cloud Pub/Sub: Qwik Start - Command Line

40 分钟 免费

GSP095

Google Cloud Self-Paced Labs

Overview

Google Cloud Pub/Sub is a messaging service for exchanging event data among applications and services. By decoupling senders and receivers, it allows for secure and highly available communication between independently written applications. Google Cloud Pub/Sub delivers low-latency/durable messaging, and is commonly used by developers in implementing asynchronous workflows, distributing event notifications, and streaming data from various processes or devices.

In this lab, you will do the following:

  • Learn the basics of Pub/Sub.

  • Create, delete, and list Pub/Sub topics.

  • Create, delete, and list Pub/Sub subscriptions.

  • Publish messages to a topic.

  • Use a pull subscriber to output individual topic messages.

  • Use a pull subscriber with a flag to output multiple messages.

Prerequisites

This is an introductory level lab. This assumes little or no prior experience with Pub/Sub, and it will teach you the basics of setting up and using this Google Cloud service.

Before taking this lab, consider your proficiency with Pub/Sub. Below is a list of more challenging labs that will let you apply your knowledge of Pub/Sub to different cloud services and use cases:

Once you're ready, scroll down and follow the steps to get your lab environment set up.

加入 Qwiklabs 即可阅读本实验的剩余内容…以及更多精彩内容!

  • 获取对“Google Cloud Console”的临时访问权限。
  • 200 多项实验,从入门级实验到高级实验,应有尽有。
  • 内容短小精悍,便于您按照自己的节奏进行学习。
加入以开始此实验
分数

—/10

Create a Pub/Sub topic

运行步骤

/ 5

Create Pub/Sub Subscription

运行步骤

/ 5