Member-only story

Cloud Pub/Sub with Cloud Run

Komal Agrawal
1 min readFeb 28, 2023

Cloud Pub/Sub

Google Cloud Pub/Sub is an asynchronous messaging service that decouples services that produce events from services that process events.

Cloud Pub/Sub core concepts:

  • Topic
  • Subscription
  • Message
  • Message attribute

Cloud Run

Cloud Run is a managed computing platform that enables you to run containers that are invocable via requests or events.

Cloud Run is serverless: it abstracts away all infrastructure management, so you can focus on what matters most — building great applications.

Architecture

fig: Cloud Pub/Sub with Cloud Run

In the below video, you will learn how to

  • Enable the Cloud Run API.
  • Deploy a Cloud Run service.
  • Deploy a Pub/Sub service.
  • Create a Pub/sub subscription

Video Link: https://www.youtube.com/watch?v=Ix54t8wWTck

--

--

Komal Agrawal
Komal Agrawal

Written by Komal Agrawal

Test Engineer @HCLTech, GCP DevOps Certified, Reader & Writer

No responses yet