Skip to content
SPECIFICTION
Get listed

Google Cloud Pub/Sub vs Karapace

Google Cloud Pub/Sub

cloud.google.com

Karapace

aiven.io

Side by side

FigureGoogle Cloud Pub/SubKarapace
Price from$40/mo$35/mo
Free planYesYes
Free trialYes—
Open source——
WebYes—
Linux—Yes
APIYesYes
Self-hosted—Yes
Plans published42
Spec score · Schema Registry Software8.1 (#7)8.1 (#8)
AuthenticationPub/Sub supports client libraries, the Google Cloud CLI, and REST, and does not support API keys as an authentication method.Karapace supports OAuth 2.0/OIDC authentication for Schema Registry and the REST Proxy.
Founded19982016
HeadquartersMountain View, California, United StatesHelsinki, Finland
IntegrationsGoogle Cloud integrations include Dataflow, BigQuery, Cloud Storage, Cloud Functions, Cloud Run, App Engine, Cloud Logging, Cloud Monitoring, Workflows, and Eventarc.The Aiven Terraform Provider supports managing Karapace Schema Registry authorization ACL entries.

Plans

Google Cloud Pub/Sub

  • Free usage allowanceFree
  • Pay-as-you-go throughput$40 a month
  • Free monthly tierFree
  • Pay-as-you-go$40 a month

Google Cloud Pub/Sub pricing →

Karapace

  • FreeFree
  • Developer$35 a month

Karapace pricing →

In their own words

Google Cloud Pub/Sub

Google Cloud Pub/Sub is a cloud messaging service for asynchronous communication between services that produce messages and those that process them. It is intended for service-to-service use, including streaming analytics, data integration, middleware, and parallel task queues, rather than direct communication with end users or IoT clients. Communication typically has latency around 100 milliseconds. Synchronous cross-zone replication and per-message receipt tracking provide at-least-once delivery; Dataflow supports exactly-once processing of Pub/Sub streams. There are no shards or partitions, and provisioning scales automatically after quota is set. Message controls include seek and replay, dead letter topics, and attribute-based filtering. Pub/Sub offers fine-grained access controls, end-to-end encryption, and HIPAA compliance. It supports REST and gRPC APIs and client libraries for seven languages; API keys are not supported for authentication. The maximum message size is 10 MB. The free monthly tier is free for the first 10 GB of data per month. Pay-as-you-go is $40 a month beyond 10 GB, with throughput listed at $40 per TB and storage at $0.27 per GiB-month.

Visit cloud.google.com

Karapace

Karapace is Aiven’s open-source Schema Registry and REST Proxy for Aiven for Apache Kafka. The registry stores and versions schemas, then checks compatibility before a changed schema is published. It accepts Avro, Protobuf, and JSON Schema, with references supported for Avro and Protobuf. Compatibility modes include NONE, BACKWARD, BACKWARD_TRANSITIVE, FORWARD, FORWARD_TRANSITIVE, FULL, and FULL_TRANSITIVE. The REST Proxy exposes HTTP endpoints for producing and consuming Kafka events, so scripts, curl, and HTTP services can work with events. OAuth 2.0/OIDC authentication is available for both components. Registry ACLs and OIDC role-based rules can limit operations, including by HTTP method. Example identity providers include Auth0, Okta, Google Identity Platform, and Azure. Deployment documentation covers Docker and installation from source with pip; the API is stated to support Schema Registry 6.1.1 operations. Karapace is available in Aiven’s Kafka free tier for learning, prototyping, and evaluation. The Free plan costs nothing, while Developer costs $35 a month.

Visit aiven.io