سجل المخطط (Schema Registry) يدير مخططات البيانات (Data Schemas) لرسائل Kafka — حيث يحدد وينفذ هيكل بيانات الأحداث، مما يمكّن تطور المخطط (Schema Evolution) بشكل آمن. وهو مهم لضمان اتساق البيانات والتوافق بين المنتجين والمستهلكين.
مشكلة: هيكل البيانات في الرسائل
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.
