# Apache Kafka vs Google Cloud Pub/Sub

**Leader by Vioscale score:** Apache Kafka

| Attribute | Apache Kafka | Google Cloud Pub/Sub |
|---|---|---|
| **Vioscale score** | 60.1 (51% (medium)) | 53.4 (49% (low)) |
| activity.commits_last_30d | 100 | - |
| adoption.dependent_repos | 1 | - |
| adoption.github_stars | 33,629 | - |
| adoption.package_downloads_weekly | 5,508,093 | - |
| deployment.options | `{"self_hosted":true}` | `{"cloud":true}` |
| description.long | Apache Kafka is a free system for capturing, storing, and processing data streams in real time. It enables organizations to reliably move large volumes of data between applications and systems, with support for transformations, aggregations, and stateful processing. | A cloud-based publish/subscribe messaging system that enables applications to ingest and stream event data at scale with guaranteed delivery, automatic scaling, and built-in replay capabilities. Integrates with data warehouses and stream processing pipelines for real-time analytics. |
| features.capabilities | `{"hosting":"self","ordering":"per_partition","paradigm":"pubsub","protocol":"Binary over TCP (SSL/SASL for authentication/encryption)","message_replay":true,"persistent_log":true,"consumer_groups":true,"geo_replication":true,"kafka_compatible":true,"managed_offering":false,"stream_processing":true,"delivery_guarantee":"exactly_once","horizontal_scaling":true}` | `{"hosting":"cloud","ordering":"per_key","paradigm":"pubsub","message_replay":true,"persistent_log":true,"consumer_groups":true,"geo_replication":true,"managed_offering":true,"stream_processing":true,"delivery_guarantee":"at_least_once","horizontal_scaling":true}` |
| integrations.count | 4 | 3 |
| integrations.list | `[{"name":"Postgres"},{"name":"JMS"},{"name":"Elasticsearch"},{"name":"AWS S3"}]` | `[{"name":"BigQuery"},{"name":"Cloud Storage"},{"name":"Dataflow"}]` |
| language.primary | Java | - |
| license.spdx | Apache-2.0 | - |
| market.availability | `{"primaryMarkets":[],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` | `{"hqCountry":"US","primaryMarkets":["US"],"availabilityScope":"global","availableCountries":[],"notAvailableCountries":[]}` |
| platform.support | `{"cli":true,"linux":true}` | `{"cli":true,"web":true}` |
| pricing | `{"type":"open_source","freeTier":true,"sourceUrl":"https://kafka.apache.org","retrievedAt":"2026-08-14T11:04:16.831Z"}` | `{"type":"usage","plans":[{"free":false,"name":"Standard Pub/Sub","summary":"$40/TiB throughput + $0.27/GiB-month storage (first 10 GiB throughput free)","features":["At-least-once message delivery","Per-key message ordering","Pull and push delivery modes","Cross-zone replication","Automatic scaling and provisioning","Message retention and snapshots"],"components":[{"per":{"qty":1,"unit":"TiB"},"kind":"metered","amount":40,"currency":"USD"},{"per":{"qty":1,"unit":"GiB-month"},"kind":"metered","amount":0.27,"currency":"USD"}],"description":"Pay-as-you-go pricing based on message throughput and retention","contactSales":false,"includedLimits":{"free_throughput":"10 GiB/month"}}],"addOns":[{"name":"BigQuery Subscription","components":[{"per":{"qty":1,"unit":"TiB"},"kind":"metered","amount":50,"currency":"USD"}]},{"name":"Cloud Storage Subscription","components":[{"per":{"qty":1,"unit":"TiB"},"kind":"metered","amount":50,"currency":"USD"}]},{"name":"Kinesis Data Streams Import","components":[{"per":{"qty":1,"unit":"TiB"},"kind":"metered","amount":50,"currency":"USD"}]},{"name":"Other Source Imports (Azure Event Hubs, AWS MSK, Confluent Cloud)","components":[{"per":{"qty":1,"unit":"TiB"},"kind":"metered","amount":80,"currency":"USD"}]}],"summary":"Usage-based: $40/TiB throughput, $0.27/GiB-month storage. Free tier: 10 GiB/month throughput.","currency":"USD","freeTier":true,"sourceUrl":"https://cloud.google.com/pubsub","retrievedAt":"2026-08-05T13:22:58.268Z","startingPrice":{"amount":0.27,"period":"month","currency":"USD"},"billingPeriods":["month"]}` |
| pricing.free_tier | yes | yes |
| pricing.model | open_source | freemium |
| pricing.price_level | free | low |
| pricing.transparent | - | no |
| reliability.status_page | - | yes |
| security.scorecard | 6.1 | - |
| security.vulnerabilities | `{"count":0,"source":"https://advisories.ecosyste.ms/api/v1/advisories?ecosystem=go&package_name=github.com%2Fapache%2Fkafka&per_page=100","last_12m":0,"max_severity":null}` | - |

## Capabilities (Message Queues)

| Capability | Apache Kafka | Google Cloud Pub/Sub |
|---|:--:|:--:|
| **Core** |  |  |
| Messaging paradigm | Pub/sub | Pub/sub |
| **Correctness** |  |  |
| Delivery guarantee | Exactly-once | At-least-once |
| Ordering guarantee | Per-partition | Per-key |
| **Durability** |  |  |
| Durable replayable log | ✓ | ✓ |
| Message replay / rewind | ✓ | ✓ |
| **Interop** |  |  |
| Wire protocol | Binary over TCP (SSL/SASL for authentication/encryption) | - |
| Kafka-protocol compatible | ✓ | - |
| **Scale** |  |  |
| Partitioned horizontal scaling | ✓ | ✓ |
| Geo / cross-region replication | ✓ | ✓ |
| **Consumption** |  |  |
| Consumer groups / competing consumers | ✓ | ✓ |
| Dead-letter queue | - | - |
| **Deployment** |  |  |
| Managed cloud offering exists | ✗ | ✓ |
| Hosting | Self-hosted only | Cloud only |
| **Processing** |  |  |
| Built-in stream processing | ✓ | ✓ |

*Source: Vioscale. Generated 2026-09-01T16:53:54.914Z. "-" = undocumented, not absent.*
