A producer team tries to publish version 5 of the checkout_events schema
A medium Pipeline Design mock interview question on DataDriven. Practice with AI-powered feedback, real code execution, and a hire/no-hire decision.
- Domain
- Pipeline Design
- Difficulty
- medium
Interview Prompt
A producer team tries to publish version 5 of the checkout_events schema. Version 5 renames amount to amount_cents, which is incompatible with both backward and forward read of the existing topic. Without a registry the rename would land on the topic, every consumer would either read NULL or fail, and the breakage would be discovered in production. The section's fix is to make the registry the gatekeeper: schemas register before publishing, the registry runs a compatibility check, and incompatible schemas are rejected at registration so they never enter the system. Spot the rejected schema by adding a schema registry node between the producer and the Kafka topic whose name states it runs a compatibility check, and add an annotation showing where the v5 schema is rejected.
How This Interview Works
- Read the vague prompt (just like a real interview)
- Ask clarifying questions to the AI interviewer
- Write your pipeline design solution with real code execution
- Get instant feedback and a hire/no-hire decision