عرض عملي: إعادة تشغيل كانت ستعيد إرسال 40,000 بريد إلكتروني، والحل
في هذا الدرس 3 موضوعات
هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.
نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.
في هذا الدرس
catch a dangerous replay before it hurts customers.
تفاصيل المخطط المبدئي
خطوة بخطوة
- Setup: a bug fix requires replaying ShipmentDispatched for a week.
- Inspect the notification consumer: it sends an email per event.
- Dry-run the replay in staging with a mail sink and show 40,000 captured messages.
- Planned mistake: rely on 'we will pause the mail provider' as the safeguard; fix with a replay flag and a sent-notifications table.
- Update the catalog: mark the consumer as side-effecting and document the replay procedure.
Prepares SRB-002-LAB1.
التطبيق
طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.
تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.