知识卡片
事件表达已发生事实
事件描述已经发生的事实,发布者不知道谁消费,也不应期待特定反应。订单事件可以让通知团队自主决定通知,发布服务无需承担通知实现。判断关键是发布者是否能接受该消息被忽略;业务后果重要并不自动使它成为命令,责任归属才决定交互语义。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 平衡编排与协同 · 查看原书依据
The most important characteristic of an event is that the component emitting the event does not know who reacts to it, or why. And it should not care, either. For example, the mouse driver definitely does not care if a mouse click leads to a reaction in the user interface. A sensor does not care
参考来源
- 位置:《Practical Process Automation》第8章《平衡编排与协同》(来源项目:book-sources;源文件:extracted/Practical Process Automation (Bernd Ruecker)/_epub-src/OEBPS/ch08.xhtml)
- 结论依据:原文给出的机制、实例与边界支持本卡的解释。
- 原始内容:The most important characteristic of an event is that the component emitting the event does not know who reacts to it, or why. And it should not care, either. For example, the mouse driver definitely does not care if a mouse click leads to a reaction in the user interface. A sensor does not care