Recall & Review
beginner
What is a Schema Registry in Kafka?
A Schema Registry is a service that stores and manages schemas for Kafka messages. It helps ensure that producers and consumers agree on the data format.
Click to reveal answer
intermediate
Why is schema evolution important in Kafka?
Schema evolution allows schemas to change over time without breaking existing data or applications. The Schema Registry supports this by validating compatibility between schema versions.
Click to reveal answer
beginner
What formats does Schema Registry commonly support?
Schema Registry commonly supports Avro, JSON Schema, and Protobuf formats for defining message schemas.
Click to reveal answer
intermediate
How does Schema Registry help prevent data corruption?
By enforcing schema compatibility and validating messages against registered schemas, Schema Registry prevents producers from sending incompatible data that could corrupt consumers.
Click to reveal answer
intermediate
What is the role of schema ID in Kafka messages when using Schema Registry?
The schema ID is a unique identifier stored in the message payload that tells consumers which schema version to use to decode the message.
Click to reveal answer
What does Schema Registry primarily manage in Kafka?
✗ Incorrect
Schema Registry manages message schemas to ensure data format consistency.
Which of these is NOT a schema format supported by Schema Registry?
✗ Incorrect
Schema Registry does not natively support XML Schema.
What does schema compatibility ensure?
✗ Incorrect
Compatibility ensures schema changes do not break existing consumers.
Where is the schema ID stored in Kafka messages when using Schema Registry?
✗ Incorrect
The schema ID is embedded in the message payload to identify the schema version.
How does Schema Registry help producers and consumers?
✗ Incorrect
Schema Registry enforces data format agreements between producers and consumers.
Explain what a Schema Registry is and why it is useful in Kafka.
Think about how producers and consumers agree on message structure.
You got /4 concepts.
Describe how schema evolution works with Schema Registry and why compatibility matters.
Consider what happens when data formats change over time.
You got /4 concepts.