Pact Broker vs Stubborn Contract
Pact Broker
github.comStubborn Contract
stubborn.shSide by side
| Figure | Pact Broker | Stubborn Contract |
|---|---|---|
| Price from | $115.42/mo | Free |
| Free plan | Yes | Yes |
| Free trial | Yes | — |
| Open source | — | — |
| Web | Yes | — |
| Linux | Yes | — |
| API | Yes | Yes |
| Self-hosted | Yes | Yes |
| Plans published | 5 | 2 |
| Spec score · Contract Testing Tools | 8.1 (#9) | 7.3 (#19) |
| Purpose | Pact Broker shares consumer-driven contracts and verification results, and is optimized for Pact contracts while also accepting contracts serializable to JSON. | Stubborn Contract is the official continuation of Spring Cloud Contract, providing consumer-driven contract testing for HTTP and message-based interactions. |
Plans
Pact Broker
- Pact Broker (self-hosted)Free
- Starter (PactFlow)Free
- Team (yearly, PactFlow)$115.42 a month
- Team (monthly, PactFlow)$127 a month
- Enterprise (PactFlow)Priced on request
Stubborn Contract
- Open-source coreFree
- Enterprise PartnershipPriced on request
In their own words
Pact Broker
Pact Broker shares consumer-driven contracts and verification results so teams can check compatibility between consumer and provider versions before deployment. It is designed for Pact contracts and also accepts contracts that can be represented as JSON. In a CI workflow, consumer builds publish contracts, provider builds retrieve and verify them, and consumers can use the can-i-deploy command to check whether deployment is safe. The broker includes a REST API, embedded API browser, generated documentation, service network diagrams, verification results and status badges. Webhooks can respond to contract changes by triggering actions such as a provider build or Slack notification. Deployment options documented include Docker and Terraform on AWS; PostgreSQL and SQLite are listed, though SQLite is not supported for long-term operation. Docker images support linux/amd64 and linux/arm64. The open-source self-hosted broker is free, with users responsible for hosting, operation, security, maintenance and upgrades. PactFlow plans are also listed: Starter is free, while Team costs $115.42 a month billed yearly or $127 a month billed monthly.
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.