Why contract testing matters in the age of gRPC, Kafka and GraphQL.
summary
Claim: Schemas are not contracts — specs (OpenAPI, AsyncAPI, protobuf/Avro/Thrift) describe shapes but miss semantics, optional fields and real usage. Evidence: 60%+ orgs run 3+ protocols, versioning and skill gaps cause breakage, a single outdated consumer once flipped payments off for merchants. Solution: record-and-replay contract testing with Pact/Pactflow and a plugin framework (IDL support was the top Pact feature for three years). Outcome: concrete compat checks across REST, gRPC, Kafka and GraphQL, fast execution — 10,000 tests in 3 seconds.
AI-written summary · about
