Skip to main content
InterviewHubPRO
Section Overview
Q12

Question 12 of 50

Part 2: Core Architecture & Implementation (Mid-Level)

24%
Domain-Driven Design (50 Qs)•Part 2: Core Architecture & Implementation (Mid-Level)

What is the difference between Domain Events, Integration Events, and Application Events?

senior LevelSystem Design

In Simple Words:

  • Domain Event: Internal to a single Bounded Context. Handled synchronously or in-memory to update local aggregates.
  • Integration Event: Published externally across network boundaries (via Kafka, RabbitMQ, EventBridge) to notify other Bounded Contexts (e.g. Billing Context notifies Shipping Context). Payloads are versioned and sanitize internal domain implementation details.
  • Application Event: Framework-level events (e.g. user logged in, HTTP request started, cache cleared).