Learn Labs
Schemas

Self-test

Check your understanding

Self-test8 questions

—/8
  1. What problem does a schema registry solve that JSON alone doesn't?

  2. What's in the first five bytes of a registry-serialized record?

  3. Under BACKWARD compatibility, which changes are allowed, and which side must deploy first?

  4. Why was adding a field without a default rejected, and what happened to old records when the field had a default?

  5. Why might BACKWARD not be enough for a compacted topic that's replayed from the beginning?

  6. Why register schemas in CI instead of letting producers auto-register?

  7. Compare Avro, Protobuf, and JSON Schema in two ways that matter.

  8. Design question

    Plan renaming the field name to full_name on a busy topic with 12 consumer services, without breaking any of them.