Bird
Raised Fist0

Given a schema evolution where a new optional field is added, which compatibility rule will allow the new schema to be registered without errors?

medium📝 Predict Output Q4 of Q15
Kafka - Schema Registry
Given a schema evolution where a new optional field is added, which compatibility rule will allow the new schema to be registered without errors?
AFORWARD compatibility
BFULL compatibility
CBACKWARD compatibility
DNONE compatibility
Step-by-Step Solution
Solution:
  1. Step 1: Understand adding optional fields effect

    Adding an optional field is backward compatible because old data can still be read by new schema.
  2. Step 2: Identify compatibility rule allowing this

    BACKWARD compatibility allows new schema to read old data, so adding optional fields is allowed.
  3. Final Answer:

    BACKWARD compatibility -> Option C
  4. Quick Check:

    Adding optional field = BACKWARD compatible [OK]
Quick Trick: Adding optional fields is backward compatible [OK]
Common Mistakes:
MISTAKES
  • Confusing FORWARD with BACKWARD compatibility
  • Thinking adding fields breaks compatibility
  • Assuming FULL compatibility is always required

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes