Schema Evolution and Compatibility#
Every service contract changes over time. New fields get added, old fields get removed, types change. In a monolith, you update the schema and redeploy. In microservices, producers and consumers deploy independently. A schema change that breaks consumers causes production failures. Schema evolution rules and tooling exist to prevent this.
Compatibility Modes#
There are four compatibility modes. Understanding them is essential for operating any schema registry.