A schema registry manages data schemas for Kafka messages — defining and enforcing the structure of event data, enabling schema evolution safely. It's important for data consistency and compatibility between producers and consumers.
ఇది ఎందుకు ముఖ్యమైనది
Kafka messages are just bytes → producers and consumers must AGREE on the data structure:
→ without management → producers might change the format, breaking consumers
→ how do consumers know the structure? how do you change it safely?
→ a SCHEMA REGISTRY manages this.
