Skip to content
Ameen Abozaid
Planned lessonMID-026-L06

Demo: one event, three consumers

  • Lesson 6 of 6
  • Mid-level
On This Lesson 3 topics

This lesson is planned. The outline below lists the topics it will cover. The full lesson has not been published yet.

In this lesson

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

Draft outline details

Step by step

  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.

Practice

Apply this lesson with the module's lab, exercises and quiz.

Lab and exercises Quiz

Marking a lesson complete is optional and you can undo it any time. Your progress stays in this browser.

Type to search levels, phases, modules and lessons.