知识卡片

普通读书笔记卡 · 2285.i.12

引擎也可承担通信通道

理解等级:中级

多个微服务可直接订阅共享引擎的逻辑任务类型,付款服务接retrieve-payment,发货服务接ship-goods,流程不再额外调用它们的REST或消息接口。这减少基础设施并保留时间解耦,却让引擎成为跨服务共享通信资源,需要共同接受其中心地位。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 解决方案架构 · 查看原书依据

      Instead, the payment service directly subscribes to service tasks with the type name retrieve-payment, and the shipment service subscribes to tasks with the type name ship-goods. As the task type name is the connection information, the pub/sub mechanism still decouples the two services.

    参考来源

    - 位置:《Practical Process Automation》第6章《解决方案架构》(来源项目:book-sources;源文件:extracted/Practical Process Automation (Bernd Ruecker)/_epub-src/OEBPS/ch06.xhtml) - 结论依据:原文中的定义、机制和适用条件支持上述解释,正文未将产品示例推广为所有引擎的保证。 - 原始内容:Instead, the payment service directly subscribes to service tasks with the type name retrieve-payment, and the shipment service subscribes to tasks with the type name ship-goods. As the task type name is the connection information, the pub/sub mechanism still decouples the two services.