All modules

Module 13 · Decouple

Async Processing & Kafka

Move work off the request path while keeping delivery, ordering, retries, and business state observable.

Intermediate4 chapters190 minutesPrerequisite: Application architecture and transactions
Start module

Chapter plan

What you will complete

Module outcome

Choose local async work, in-process events, or a broker and state the failure contract of each.

Mental model

Async processing trades temporal coupling for queues, retries, duplicate delivery, and explicit ownership of eventual state.

Module checkpoint

Reliable order events

Publish order-created events through an outbox and consume them idempotently.

  • Bounded executor metrics
  • Outbox relay
  • Duplicate-delivery test

Final module assessment

Ready to prove mastery?

Complete all 50 questions after finishing the module lessons and checkpoint.

Take module quiz