Uno schema registry gestisce gli schemi dati per i messaggi Kafka — definisce e applica la struttura dei dati degli eventi, consentendo l'evoluzione dello schema in modo sicuro. È importante per la coerenza dei dati e la compatibilità tra produttori e consumatori.
Perché è importante
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.
