Should you publish Domain Events or Integration Events?

added by DotNetKicks
11/24/2021 11:19:25 PM

371 Views

Common advice is to not publish domain events outside of your service boundary. They should only exist within your service boundary. Instead, you should publish integration events for other service boundaries. While this general advice makes sense, it's not so cut-and-dry. There are many reasons why you would want to publish domain events for other services to consume.


0 comments