ایک schema registry Kafka پیغامات کے لیے ڈیٹا اسکیمز کا انتظام کرتا ہے — ایونٹ ڈیٹا کی ساخت کو متعین اور نافذ کرتا ہے، schema evolution کو محفوظ طریقے سے فعال کرتا ہے۔ یہ producers اور 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.
