Manage Avro schema evolution and configure Schema Registry compatibility modes for safe pipeline upgrades

domain: docs.confluent.io · 6 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Understand the four compatibility levels: BACKWARD (new schema can read data written by old schema), FORWARD (old schema can read data written by new schema), FULL (both directions), and NONE (no checks).
  2. Set the default compatibility mode for the registry globally, then override per-subject if certain topics require stricter or looser rules: use the Schema Registry REST API subjects endpoint to update the compatibility for a specific subject.
  3. For BACKWARD compatibility, only add fields with defaults and never remove or rename required fields; adding a field without a default breaks backward compatibility.
  4. Register a new schema version before deploying producers that use it; this ensures consumers can fetch the schema by ID before any messages with the new version arrive.
  5. Use schema references for shared types (e.g., a common Address type referenced by multiple event schemas) to avoid duplicating definitions and to track compatibility across the reference graph.
  6. Test schema evolution in a non-production registry namespace before promoting; use the compatibility check endpoint to validate a candidate schema against the current version without registering it.

Known gotchas

Related routes

Set Schema Registry compatibility mode per subject and evolve an Avro schema safely
kafka · 6 steps · unrated
Manage Kafka Schema Registry compatibility modes
docs.confluent.io · 5 steps · unrated
Configure and validate Confluent Schema Registry subject compatibility modes before deploying a schema change
docs.confluent.io · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans