EngineeringSenior DeveloperTechnical Sessions

Session 16: Event-Driven Architecture & Messaging

Premium

Mục tiêu: Master event types, message broker patterns, MassTransit framework, và idempotency.


1. Event Types

Domain Events:
  - Internal trong 1 bounded context
  - Raised bởi Aggregate Root
  - Dispatch trong cùng transaction (MediatR)
  - VD: OrderItemAdded, PriceChanged

Integration Events:
  - Cross bounded context / cross service
  - Publish qua message broker (RabbitMQ, Service Bus)
  - Eventually consistent
  - VD: OrderSubmittedIntegrationEvent

Event Notifications:
  - Lightweight, chỉ chứa ID
Premium

Continue with premium access

Session 16: Event-Driven Architecture & Messaging is part of the premium library. Sign in with a premium account to unlock the full lesson and the rest of this track.

01 Full premium lesson access
02 Deeper implementation notes
03 Ongoing content updates