← 返回起始笔记位置

知识卡片

普通读书笔记卡 · 2275.as.6.f.3.c.1.e.2.d.1.b

扇出支持独立消费者

理解等级:中级

扇出让多个消费者读取同一事件流,各自保存消费位置并按自己的节奏前进。它区别于多个工作者竞争处理同一任务;能否重读还取决于保留期和位置管理,消费者慢于保留窗口时需有恢复计划。

这张卡片看不懂?

已有反馈 · 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.