Bird
Raised Fist0

You try to register a new schema that removes a field, but the registry rejects it. What is the most likely cause?

medium📝 Debug Q6 of Q15
Kafka - Schema Registry
You try to register a new schema that removes a field, but the registry rejects it. What is the most likely cause?
ASchema compatibility is set to NONE
BSchema compatibility is set to FULL
CSchema compatibility is set to FORWARD
DSchema compatibility is set to BACKWARD
Step-by-Step Solution
Solution:
  1. Step 1: Understand effect of removing fields on FULL compatibility

    FULL compatibility requires both backward and forward compatibility, so removing fields breaks forward compatibility.
  2. Step 2: Identify which setting rejects the schema

    Schema compatibility is set to FULL (FULL) rejects the schema because removing fields breaks forward compatibility.
  3. Final Answer:

    Schema compatibility is set to FULL -> Option B
  4. Quick Check:

    Removing fields rejected under FULL compatibility [OK]
Quick Trick: FULL compatibility rejects removing required fields [OK]
Common Mistakes:
MISTAKES
  • Thinking NONE rejects schemas
  • Confusing BACKWARD and FORWARD effects
  • Assuming registry always accepts schema changes

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Kafka Quizzes