Karapace vs Stubborn Contract
Karapace
karapace.ioStubborn Contract
stubborn.shSide by side
| Figure | Karapace | Stubborn Contract |
|---|---|---|
| Price from | Free | Free |
| Free plan | Yes | Yes |
| Free trial | — | — |
| Open source | — | — |
| API | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 1 | 2 |
| Spec score · Contract Testing Tools | 7.9 (#12) | 7.3 (#19) |
| Purpose | Karapace is a free and open-source implementation of the Kafka Schema Registry and Kafka REST Proxy. | Stubborn Contract is the official continuation of Spring Cloud Contract, providing consumer-driven contract testing for HTTP and message-based interactions. |
Plans
Stubborn Contract
- Open-source coreFree
- Enterprise PartnershipPriced on request
In their own words
Karapace
Karapace is a free, open-source implementation of the Kafka Schema Registry and Kafka REST Proxy. Its registry stores Avro, JSON Schema, and Protobuf schemas, keeps version histories, and checks compatibility between versions. The REST Proxy exposes HTTP APIs for producing and consuming Kafka events and handling administrative operations. Karapace implements the Confluent Schema Registry API and REST Proxy API versions 1 and 2, with version 2 as the default. A leader-and-replica design provides high availability and load balancing. Monitoring includes Prometheus-native metrics and OpenTelemetry traces and metrics, with optional Sentry reporting. Schema Registry authentication supports HTTP basic authentication and OAuth2/OIDC bearer-token validation; the REST Proxy forwards OAuth2 tokens instead of validating them. Karapace is self-hosted, requires Python 3.12 or newer, and installs from Docker images or source. Default Docker ports are 8081 for the Schema Registry and 8082 for the REST Proxy. It is offered at free.
Stubborn Contract
Stubborn Contract is the official continuation of Spring Cloud Contract, providing consumer-driven contract testing for HTTP and message-based interactions. The contract-testing core and Stubborn Broker OSS use the Apache 2.0 license and are free to use, modify, and deploy. YAML, Groovy, Java, and Kotlin formats are supported, and existing Groovy DSL, YAML, and Java DSL contracts can remain during migration. Contracts can be published through Maven or Gradle plugins or the CLI. Stubborn Broker verifies contracts across branches and services and offers a CI-oriented can-i-deploy check. Listed Broker capabilities include branch-aware governance, AI contract creation from captured HTTP traffic, and MCP integration for AI agents, with SDKs for Java, Kotlin, JavaScript, and TypeScript. Version 0.1.2 adds Spring-free Kafka, RabbitMQ, and JMS building blocks and runs on Java 17 or later. An OpenRewrite recipe automates mechanical migration. Broker can run locally with Docker on port 8080.