知识卡片
无人订阅的事件保留扩展点
处理器完成动作后可发布“做了什么”,即使当前没有订阅者。原书通知处理器发邮件后发布“邮件已发送”,当前无人响应;若以后需要分析邮件,可新增订阅者而不改通知处理器。这是预留扩展点的做法。是否值得发布,要同时考虑事件量与维护成本,这是应用推断,原书本段未给定阈值。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Event-Driven Architecture Style · 查看原书依据
When no event processors care about or respond to the event, we call it an extensible derived event
参考来源
- 位置:《Fundamentals of Software Architecture》原书第15章《Event-Driven Architecture Style》(阅读计划第18项;源文件:`OEBPS/ch15.html`)
- 结论依据:单元06:邮件已发送事件。
- 原始内容:When no event processors care about or respond to the event, we call it an extensible derived event