انتقل إلى المحتوى
أمين أبوزيد
درس مخطط لهMID-026-L06

عرض عملي: حدث واحد وثلاثة مستهلكين

  • الدرس 6 من 6
  • Mid-level
في هذا الدرس 3 موضوعات

هذا الدرس مخطط له. يعرض المخطط أدناه الموضوعات التي سيغطيها، ولم يُنشر الدرس الكامل بعد.

نص الدروس والتمارين باللغة الإنجليزية، بينما تبقى واجهة الموقع وعناوين الدروس بالعربية.

في هذا الدرس

see fan-out and independence. Prepares MID-026-LAB1.

تفاصيل المخطط المبدئي

خطوة بخطوة

  1. Define the OrderPlaced JSON schema with the fields from L05.
  2. Publish it once to a topic (use any broker available in the lab setup).
  3. Start three consumers: inventory, payments, notifications, each with its own subscription.
  4. Stop one consumer, keep publishing, restart it, and show it catches up while the others were unaffected.
  5. Planned mistake: publish ReserveStockAndChargeCard as an "event". Explain why it is a command in disguise and rename it OrderPlaced.
  6. Add the event to the catalog with an owner.

التطبيق

طبّق هذا الدرس بمختبر الوحدة وتمارينها واختبارها.

المختبر والتمارين الاختبار

تعليم الدرس كمكتمل اختياري ويمكنك التراجع عنه في أي وقت. يبقى تقدمك محفوظًا في هذا المتصفح.

اكتب للبحث في المستويات والمراحل والوحدات والدروس.