Schéma registry spravuje datová schémata pro Kafka zprávy — definuje a vynucuje strukturu dat událostí, umožňuje bezpečnou evoluci schématu. Je důležité pro konzistenci dat a kompatibilitu mezi producenty a spotřebiteli.
Problém: struktura dat ve zprávách
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.
