Bird
Raised Fist0

If a schema removes a required field, which compatibility rule will most likely reject the new schema?

medium📝 Predict Output Q5 of Q15
Kafka - Schema Registry
If a schema removes a required field, which compatibility rule will most likely reject the new schema?
ABACKWARD compatibility
BFULL compatibility
CNONE compatibility
DFORWARD compatibility
Step-by-Step Solution
Solution:
  1. Step 1: Understand removing required fields effect

    Removing a required field breaks FORWARD compatibility because old consumers expect that field.
  2. Step 2: Identify which rule rejects this change

    FORWARD compatibility requires old schemas to read new data, which fails if required fields are removed.
  3. Final Answer:

    FORWARD compatibility -> Option D
  4. Quick Check:

    Removing required field breaks FORWARD compatibility [OK]
Quick Trick: Removing required fields breaks FORWARD compatibility [OK]
Common Mistakes:
MISTAKES
  • Assuming BACKWARD compatibility rejects removal
  • Confusing which direction compatibility applies
  • Thinking NONE compatibility rejects changes

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes