Skip to main content
InterviewHubPRO
Section Overview
Q42

Question 42 of 50

Part 3: Advanced Internals, Scale & Production Architecture (Senior / Lead)

84%
Apache Kafka Streaming (50 Qs)•Part 3: Advanced Internals, Scale & Production Architecture (Senior / Lead)

Schema Evolution in Confluent Schema Registry: Backward, Forward, Full, and None compatibility modes with Avro/Protobuf.

senior LevelSystem DesigngRPC

In Simple Words: Schema Registry enforces data governance at the broker boundary, preventing downstream consumers from crashing due to unexpected field removals or type changes:

  • BACKWARD (Default): Consumers using the new schema can read data written with the previous schema. Allows upgrading consumers before producers. (Can delete fields or add optional fields).
  • FORWARD: Consumers using the previous schema can read data written with the new schema. Allows upgrading producers before consumers. (Can add new fields or delete optional fields).
  • FULL: Both backward and forward compatible. Upgrades can happen in any order.
  • NONE: Disables schema validation (dangerous for production).