عرض عملي: تقسيم OrderPlaced إلى حدثين عبر خمسة مستهلكين
في هذا الدرس 3 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
plan the split of one event into two; prepares SRC-006-LAB1.
تفاصيل المخطط المبدئي
خطوة بخطوة
- Map the five consumers and what each reads from
OrderPlaced. - Define the new events (for example
OrderAcceptedandPaymentRequested) and the compatibility mode. - Planned mistake: announce and remove the old event in one release. Fix: dual-publish both forms and track the old subject's consumer lag to zero.
- Sequence the consumer migrations with owners, dates, and contract tests.
- Define rollback for each step.
- Verify no consumers remain, then retire the old event.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.