Why a Schema Registry

Why Streaming Data Needs a Schema Registry

A topic outlives every program that writes to it, yet the broker only stores bytes: one renamed field breaks every reader, and bad records stay until retention removes them. A schema registry makes the contract explicit:

Serializers register or look up a schema once and send only its ID with each record
Serializers register or look up a schema once and send only its ID with each record

Serializers cache the ID after one lookup; deserializers fetch each writer's schema once by ID, so a consumer reads old and new versions side by side and the registry stays off the hot path.