Google Cloud Pub/Sub is an asynchronous, scalable messaging service that decouples producers from consumers, offering push and pull subscriptions, configurable exactly-once delivery, and roughly 100-millisecond latency.
Fully managed and serverless over gRPC and REST, with automatic scaling and a global namespace (storage stays regional across three zones). Pull and push subscriptions, dead-letter topics, retry policies, and per-topic Single Message Transforms with JavaScript UDFs. Billing is per TiB of throughput plus storage and egress.
How Google Cloud Pub/Sub answers the questions Event Streaming turns on.
| How it works | |
| Protocol | Own API over gRPC and REST |
| Consumption model | Acknowledged messaging, pull or push; replay by seek |
| Storage | Managed; retention up to 31 days |
| Delivery guarantee | At-least-once; Exactly-once configurable |
| Running it | |
| What you run | Nothing: no capacity to provision at all |
| Scaling | Automatic; throughput is a bill, not a setting |
| Multi-region | Global namespace, but storage stays in one region across three zones |
| Connections | |
| Connectors | Import topics from Kafka, Kinesis and GCS; direct subscriptions to BigQuery and Bigtable |
| Transformations | Single Message Transforms, including JavaScript UDFs, per topic or subscription |
| Cost | |
| Billing unit | Message throughput by the TiB, plus storage and egress |
vs Google Cloud Pub/Sub: Subscription
vs Google Cloud Pub/Sub: Open source (permissive) · Self-hosted · Managed · Hybrid · Free · Operational complexity: High · Java, Scala
vs Google Cloud Pub/Sub: Open source (permissive) · Self-hosted · Managed · Hybrid · Free · Operational complexity: High · Java