Pub/Sub limits and quotas
Pub/Sub has 23 published limits, for example Publisher throughput per region: 240,000,000 kB per minute (4 GB/s) in large regions 48,000,000 kB per minute (800 MB/s) in medium regions 12,000,000 kB per minute (200 MB/s) in small regions kB.
Quotas and limits of Pub/Sub, as Google Cloud Platform states it
| Limit | Value | Column (plan or default) | Adjustable |
|---|---|---|---|
| Publisher throughput per region Source: docs.cloud.google.com · verified | 240,000,000 kB per minute (4 GB/s) in large regions 48,000,000 kB per minute (800 MB/s) in medium regions 12,000,000 kB per minute (200 MB/s) in small regions kB | Default quota limit | Not stated |
| Pull subscriber throughput per region Source: docs.cloud.google.com · verified | 240,000,000 kB per minute (4 GB/s) in large regions 48,000,000 kB per minute (800 MB/s) in medium regions 24,000,000 kB per minute (400 MB/s) in small regions kB | Default quota limit | Not stated |
| Acknowledger throughput per region Source: docs.cloud.google.com · verified | 240,000,000 kB per minute (4 GB/s) in large regions 48,000,000 kB per minute (800 MB/s) in medium regions 24,000,000 kB per minute (400 MB/s) in small regions kB | Default quota limit | Not stated |
| Push subscriptions throughput per region Source: docs.cloud.google.com · verified | 26,400,000 kB per minute (440 MB/s) in large regions 8,400,000 kB per minute (140 MB/s) in medium regions 2,400,000 kB per minute (40 MB/s) in small regions kB | Default quota limit | Not stated |
| BigQuery subscriptions throughput per region Source: docs.cloud.google.com · verified | 240,000,000 kB per minute (4 GB/s) in large regions 48,000,000 kB per minute (800 MB/s) in medium regions 12,000,000 kB per minute (200 MB/s) in small regions kB | Default quota limit | Not stated |
| Cloud Storage subscriptions throughput per region Source: docs.cloud.google.com · verified | 240,000,000 kB per minute (4 GB/s) in large regions 48,000,000 kB per minute (800 MB/s) in medium regions 12,000,000 kB per minute (200 MB/s) in small regions kB | Default quota limit | Not stated |
| Bigtable subscriptions (Preview) throughput per region Source: docs.cloud.google.com · verified | 240,000,000 kB per minute (4 GB/s) in large regions 48,000,000 kB per minute (800 MB/s) in medium regions 12,000,000 kB per minute (200 MB/s) in small regions kB | Default quota limit | Not stated |
| StreamingPull subscriber throughput per region Source: docs.cloud.google.com · verified | 240,000,000 kB per minute (4 GB/s) in large regions 48,000,000 kB per minute (800 MB/s) in medium regions 24,000,000 kB per minute (400 MB/s) in small regions kB | Default quota limit | Not stated |
| Number of open StreamingPull connections per region Source: docs.cloud.google.com · verified | 72,000 open connections at a time in large regions 48,000 open connections at a time in medium regions 24,000 open connections at a time in small regions open | Default quota limit | Not stated |
| Administrator operations Source: docs.cloud.google.com · verified | 6,000 per minute (100 ops/s) per | Default quota limit | Not stated |
| Number of messages consumed from subscriptions with exactly-once delivery enabled per region Source: docs.cloud.google.com · verified | 1,000,000 messages per minute in us-central1 700,000 messages per minute in us-east1 300,000 messages per minute in us-west1 180,000 messages per minute in other regions messages | Default quota limit | Not stated |
| Number of messages acknowledged or whose deadline is extended when using subscriptions with exactly-once delivery enabled per region Source: docs.cloud.google.com · verified | 10,000,000 messages per minute in us-central1 7,000,000 messages per minute in us-east1 3,000,000 messages per minute in us-west1 1,800,000 messages per minute in other regions messages | Default quota limit | Not stated |
| Project Source: docs.cloud.google.com · verified | 10,000 topics 10,000 attached or detached subscriptions 5,000 snapshots 10,000 schemas topics | Limits | Not stated |
| Topic Source: docs.cloud.google.com · verified | 10,000 attached subscriptions 5,000 attached snapshots If topic message retention is configured, messages published to a topic can be retained in persistent storage for up to 31 days from the time of publication. attached | Limits | Not stated |
| Subscription Source: docs.cloud.google.com · verified | By default, retains unacknowledged messages in persistent storage for 7 days from the time of publication. There is no limit on the number of retained messages. If subscribers don't use a subscription, the subscription expires. The default expiration period is 31 days. | Limits | Not stated |
| Schema Source: docs.cloud.google.com · verified | Schema size (the definition field): 300KB Revisions per schema: 20 | Limits | Not stated |
| Publish request Source: docs.cloud.google.com · verified | 10MB (total size) 1,000 messages | Limits | Not stated |
| Message Source: docs.cloud.google.com · verified | Message size (the data field): 10MB Attributes per message: 100 Attribute key size: 256 bytes Attribute value size: 1024 bytes | Limits | Not stated |
| StreamingPull streams Source: docs.cloud.google.com · verified | 10 MBps per open stream MBps | Limits | Not stated |
| Unary Pull response Source: docs.cloud.google.com · verified | Maximum number of messages in Pull response: 1000 Maximum size of Pull response: 10 MB | Limits | Not stated |
| Acknowledge and ModifyAckDeadline requests Source: docs.cloud.google.com · verified | 512 KB (total size) KB | Limits | Not stated |
| Ordering keys Source: docs.cloud.google.com · verified | If messages have ordering keys, the maximum publisher throughput is 1 MBps for each ordering key. | Limits | Not stated |
| Cloud Storage bucket objects Source: docs.cloud.google.com · verified | When using Cloud Storage import topics, the limit for the number of objects in a bucket is 50 million. | Limits | Not stated |