A schema registry jimmaniġġja data schemas għal messaġġi Kafka — jiddefinixi u jenforzab-il struttura tal-event data, jippermettu schema evolution b'mod sigur. Huwa importanti għall-konsistenza tad-data u l-kompatibilità bejn il-produtturi u l-konsumers.
Il-problema: struttura tad-data fil-messaġġi
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.
