Set Schema Registry compatibility mode per subject and evolve an Avro schema safely

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

Steps

  1. Check the global default compatibility mode: GET /config returns {"compatibilityLevel": "BACKWARD"} — Confluent Schema Registry defaults to BACKWARD
  2. Override compatibility for a specific subject: PUT /config/my-topic-value with body {"compatibility": "FULL_TRANSITIVE"} to require every new version to be both backward and forward compatible with all prior versions
  3. Test a candidate schema before registering: POST /compatibility/subjects/my-topic-value/versions/latest with the new schema; a 200 response with {"is_compatible": true} confirms it passes
  4. Register the new schema version: POST /subjects/my-topic-value/versions with the schema JSON
  5. For BACKWARD mode: only add fields with defaults and only delete fields without defaults; upgrade all consumers before producers
  6. For FORWARD mode: only add optional fields (fields with defaults) and delete fields that already have defaults; upgrade producers first, then consumers

Known gotchas

Related routes

Manage Avro schema evolution and configure Schema Registry compatibility modes for safe pipeline upgrades
docs.confluent.io · 6 steps · unrated
Configure and validate Confluent Schema Registry subject compatibility modes before deploying a schema change
docs.confluent.io · 5 steps · unrated
Manage Kafka Schema Registry compatibility modes
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