Skip to content

Commit

Permalink
add link to example project
Browse files Browse the repository at this point in the history
  • Loading branch information
william-liebenberg committed Jul 25, 2023
1 parent dff0a21 commit effb25c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rules/when-to-use-domain-and-integration-events/rule.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,5 @@ Ultimately, the decision on whether to raise Integration Events from the `Applic
Use Domain Events within the `Domain` layer to decouple domain-specific logic and enable better maintainability and testability within the core of your application.

Use Integration Events (preferably from the `Application` layer) when you need to communicate and coordinate between different parts of an application or distributed system (such as microservices), to achieve eventual consistency and loose coupling among services.

For an example implementation of Domain and Integration events, check out this [example project](https://github.com/william-liebenberg/CleanArchitectureWithDomainEvents).

0 comments on commit effb25c

Please sign in to comment.