Cloud Pub/Sub

Global messaging and event ingestion made simple.

Ingest events at any scale

Ingest events at any scale

Data ingestion is the foundation for analytics and machine learning, whether you are building stream, batch, or unified pipelines. Cloud Pub/Sub provides a simple and reliable staging location for your event data on its journey towards processing, storage, and analysis.

With Cloud Pub/Sub, data engineers can:

  • Scale without provisioning, partitioning, or load isolation worries
  • Expand your applications and pipelines to new regions simply with global topics
  • Enrich, deduplicate, order, aggregate, and land events using Cloud Dataflow
  • Mix real-time and batch processing via Cloud Pub/Sub’s durable storage
Simplify development

Simplify development of event-driven microservices

Whether you’re just beginning your journey to event-driven asynchronous microservices or migrating an existing system, making your events accessible through messaging middleware is a critical early step. Application developers on GCP rely on Cloud Pub/Sub to reliably deliver each event to all the services that must react to it.

Upon event publication to Cloud Pub/Sub:

  • Push subscriptions deliver the event to serverless apps running in Cloud Functions, App Engine or Cloud Run
  • Pull subscriptions make it available to more complex stateful services running in Google Kubernetes Engine or Cloud Dataflow
  • Multi-region environments operate seamlessly because of Cloud Pub/Sub’s global nature
Be production ready

Be production ready from day one

Cloud Pub/Sub is designed as a premium service that lets Google Cloud users focus on application logic, regardless of location or scale. The service is minimal and easy to start with but also eliminates the operational, scaling, compliance, and security surprises that inevitably reveal themselves in software projects.

This is why Cloud Pub/Sub includes these always-on features:

  • End-to-end encryption, IAM, and audit logging
  • NoOps, fully automated scaling and provisioning with virtually unlimited throughput
  • Extreme data durability and availability with synchronous cross-zone replication
  • Native client libraries in major languages and an open-service API

Cloud Pub/Sub for global messaging and event ingestion

Global messaging and Event ingestion

Cloud Pub/Sub Features

At-least-once delivery

Synchronous, cross-zone message replication and per-message receipt tracking ensures at-least-once delivery at any scale.


Open APIs and client libraries in seven languages support cross-cloud and hybrid deployments.

Exactly-once processing

Cloud Dataflow supports reliable, expressive, exactly-once processing of Cloud Pub/Sub streams.

Global by default

Publish from anywhere in the world and consume from anywhere, with consistent latency. No replication necessary.

No provisioning, auto-everything

Cloud Pub/Sub does not have shards or partitions. Just set your quota, publish and consume.

Compliance and security

Cloud Pub/Sub is a HIPAA-compliant service, offering fine-grained access controls and end-to-end encryption.


Take advantage of integrations with multiple services, such as Cloud Storage and Gmail update events and Cloud Functions for serverless event-driven computing.

Seek and replay

Rewind your backlog to any point in time or a snapshot, giving the ability to reprocess the messages. Fast forward to discard outdated data.

Cloud Pub/Sub Pricing

The more you use Cloud Pub/Sub, the cheaper it gets — with no upfront costs and no fees to create or maintain topics or subscriptions.

Monthly data volume1 Price Per TB2
First 10 GB $0.00
Next 50 TB $60
Next 100 TB $50
Beyond 150 TB $40

1 For detailed pricing information, please consult the pricing guide.

2 TB refers to a tebibyte, or 240 bytes.

If you pay in a currency other than USD, the prices listed in your currency on Cloud Platform SKUs apply.


Google Cloud

Get started

Learn and build

New to GCP? Get started with any GCP product for free with a $300 credit.

Need more help?

Our experts will help you build the right solution or find the right partner for your needs.

Skicka feedback om ...

Cloud Pub/Sub