Member-only story

Domain Events for Communication

Rafael A. George Duval
1 min readAug 22, 2022

--

A Bounded context represents data and behavior in the code-base.

A bounded context is a complete, well-defined business domain model.

In the broad sense, a business domain is what an organization does and the world it does it in.[¹]

Domain events represent the state in time of a business process.

Publishing domain events out of a bounded context is the most robust approach to integration between sub-domains.

Other sub-domains react to events, and that’s how collaboration happens.[¹]

Customer interactions define at a higher level what is essential to the business. The event represents an agreement of something that happened after a particular action is executed.

Bounded contexts communicate using Domain events to decouple the communication between internal sub-domains.

The events act as the primary interface between consumers and providers.

[¹]: Vaughn Vernon (2013): Implementing Domain-Driven Design (https://www.amazon.com/Implementing-Domain-Driven-Design-Vaughn-Vernon/dp/0321834577)

--

--

Rafael A. George Duval
Rafael A. George Duval

Written by Rafael A. George Duval

✍🏼 Building a Solo Digital Media Company 🧪 Snippets of Text [https://snippetsoftext.substack.com/subscribe]

No responses yet