Phase 8Intermediate9 of 18 in Apache Kafka
Schemas & Data Contracts
Why schemas matter, JSON vs Avro vs Protobuf vs JSON Schema, Schema Registry subjects and IDs, backward/forward/full compatibility, safe evolution, and topic-per-entity vs topic-per-event strategies.
A Kafka topic is an API between teams that never talk at deploy time. Without schemas, one producer's "small change" breaks consumers in production, possibly days later when they replay history.
This phase makes events contracts: typed, versioned, compatibility-checked at build time, and evolved without breaking anyone.
0/4 · 0%
4 topics ~29 min 6 code blocks & diagrams