سياسات التوافق
في هذا الدرس 4 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
write rules for what changes are allowed without coordination.
الموضوعات المخطط لها
- Backward compatible: new producer, old consumer still works; forward: old producer, new consumer works.
- Safe: add optional fields; risky: remove, rename, change type or meaning.
- Policy: compatibility mode per subject in the schema registry; additive-only by default.
- Meaning changes are breaking even when the schema is unchanged.
- Define deprecation windows and sunset notices.
تفاصيل المخطط المبدئي
عرض عملي
a policy table: change type, allowed without notice, needs notice, requires new version.
اختبر فهمك
Is changing a field's meaning but not its type compatible?
أظهر الإجابة
No; it breaks consumers although the schema validates.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.