Avro compatibility checks, Confluent-style
Avro schemas are now checked for compatibility the way a Confluent Schema Registry checks them. Import an Apache Avro schema.
- Diffs grade by mode. Comparing two versions of an Avro catalog item grades a change as
breaking when new readers cannot read old data (
BACKWARD), and as dangerous when only old readers fail (FORWARD). Adding a field without adefaultis breaking, removing one is dangerous, and either with adefaultis safe. - The registry enforces levels. Avro subjects now honour
BACKWARD,FORWARDandFULLand theirTRANSITIVEforms. An incompatible version is refused with HTTP409, andapiome registry compatlists the reasons. - Same answers as Confluent. Verdicts and messages match a live Confluent Schema Registry on more than a hundred recorded cases.
