Skip to content
Ameen Abozaid
Planned lessonMID-028-L08

Demo: order events end to end

  • Lesson 8 of 9
  • 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

run the full flow. Prepares MID-028-LAB1.

Draft outline details

Step by step

  1. Start Kafka (KRaft) with Docker Compose; create orders with 3 partitions.
  2. orders publishes OrderPlaced keyed by order ID with acks=all and idempotence on.
  3. Consume in groups inventory and payments; show each gets every record.
  4. Check ordering: send three events for one order and see the same partition and order.
  5. Planned mistake: publish with a null key and show events of one order in different partitions and out of order. Fix with the order ID key.
  6. Throw on a bad payload and show it arriving in orders.DLT.

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.

Continue to next lesson

Type to search levels, phases, modules and lessons.