返回主题:拉取、积压与消费能力:拉得动吗

此卡片不在当前主题的阅读序列中,可返回主题继续阅读。

知识卡片

普通读书笔记卡 · 2313.e.5.f.10.c.1.c.2.g.1

消费组分担分区工作

理解等级:中级

同一消费组的成员分担分区,组内一个分区通常由一个活跃消费者消费;不同组可各自处理相同记录。offset表示读取与提交进度,业务成功与提交顺序决定故障后重投或漏处理风险。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • Event-driven Systems · 查看原书依据

      Consumer groups and offset management: Kafka allows multiple consumers to form a consumer group and share the workload of processing messages from a topic. Each consumer in a group is assigned a subset of partitions to consume from.

    参考来源

    - 位置:《Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…》第06章《Event-driven Systems》(来源项目book-sources;源文件:extracted/Building Distributed Systems Designing scalable architectures with microservices, event-driven patterns, and robust deployment…/_epub-src/OPS/ch06.xhtml) - 结论依据:原文的机制或对比支持以下核心判断:同一消费组的成员分担分区,组内一个分区通常由一个活跃消费者消费;不同组可各自处理相同记录。 本卡将相邻说明中的适用限制保留为解释。 - 原始内容:Consumer groups and offset management: Kafka allows multiple consumers to form a consumer group and share the workload of processing messages from a topic. Each consumer in a group is assigned a subset of partitions to consume from.