知识卡片

普通读书笔记卡 · 2313.e.5.f.11.c.1.a

发布订阅承载阶段消息

理解等级:中级

发布者向主题写消息,订阅者接收并推进后续处理,使工作流不必靠共享目录在机器间传递。主题分区与消息副本是不同维度:前者用于分担处理,后者用于冗余。是否广播给每个订阅者、同组如何分配、何时可重放都取决于具体服务契约,不能混称为通用可靠队列。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Chapter 12. Event-Driven Batch Processing · 查看原书依据

      A pub/sub API allows a user to define a collection of queues (sometimes called topics). One or more publishers publishes messages to these queues. Likewise, one or more subscribers is listening to these queues for new messages. When a message is published, it is reliably stored by the

    参考来源

    - 位置:《Designing Distributed Systems, 2nd Edition》第12章《Chapter 12. Event-Driven Batch Processing》(来源项目 book-sources;源文件:extracted/Designing Distributed Systems, 2nd Edition/_epub-src/OEBPS/ch12.html) - 结论依据:原文介绍topic、publisher、subscriber,并在Kafka例子区分复制和分区。 - 原始内容:A pub/sub API allows a user to define a collection of queues (sometimes called topics). One or more publishers publishes messages to these queues. Likewise, one or more subscribers is listening to these queues for new messages. When a message is published, it is reliably stored by the