你的位置: 码友网首页 / 资讯源列表 / Should you publish Domain Events or Integration Events?

关于[Should you publish Domain Events or Integration Events?]的摘要:

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. Here are how I think of Domain Events and Integration Events and when to use them.

原文地址: https://codeopinion.com/should-you-publish-domain-events-or-integration-events/

收录时间: 2021-11-25 浏览量: 1399 分类: 架构设计

| 2 收藏 | 0