⌘K
Flycodx

Event-Driven Architecture with Kafka

Event-Driven Architecture with Kafka

MediumHLD0% accepted

Design an event-driven order processing system using Kafka. Order placed event triggers inventory update, payment processing, notification, and analytics - all asynchronously via events.

Approach

Design event-driven order system with Kafka; CQRS and eventual consistency.

Input

Order placed; payment service and inventory service both need to react

Output

Order service publishes OrderPlaced to Kafka; Payment consumer and Inventory consumer independently consume; decoupled

Scenarios & Expected Answers

Sign in to continue

Create a free account to view answers and mark progress.

  • Free forever — no credit card
  • Theory Q&A with detailed answers
  • Points, streaks & leaderboards
Auto Save On