知识卡片
扇出支持独立消费者
扇出让多个消费者读取同一事件流,各自保存消费位置并按自己的节奏前进。它区别于多个工作者竞争处理同一任务;能否重读还取决于保留期和位置管理,消费者慢于保留窗口时需有恢复计划。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Event and Notification Management · 查看原书依据
A simple variation is where multiple consumers consume from the same stream of events from a single producer. In this scenario, each consumer maintains its own message offset. This pattern is known as fanout exchange. A practical example would be a customer administration system that distributes all customer changes to several downstream applications.
参考来源
- 位置:《Data Management at Scale》第06章《Event and Notification Management》(来源项目 a19c7933-4eda-4176-aebd-30fe7e1ad292,源文件:extracted/Data Management at Scale/_epub-src/OEBPS/ch06.html)
- 结论依据:原文对fanout exchange的解释、约束及上下文支持本卡;内容为中文归纳,不把架构建议当作所有组织的必然规律。
- 原始内容:A simple variation is where multiple consumers consume from the same stream of events from a single producer. In this scenario, each consumer maintains its own message offset. This pattern is known as fanout exchange. A practical example would be a customer administration system that distributes all customer changes to several downstream applications.