知识卡片
Kafka分区是并行边界
Kafka主题划成追加有序分区,broker存储并提供分区,生产者按键等规则选分区。分区决定有序范围和消费并行度;保留日志允许已读记录再次读取,但重放窗口受保留策略限制。
这张卡片看不懂?
这张卡片的反馈已满 10 条,暂时无法继续提交。
已有反馈 · 0 / 10 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- Event-driven Systems · 查看原书依据
Topics and partitions: In Kafka, messages are organized into topics. A topic is a category or feed name to which messages are published. Topics are further divided into partitions, which are the basic units of parallelism in Kafka.
参考来源
- 位置:《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)
- 结论依据:原文的机制或对比支持以下核心判断:Kafka主题划成追加有序分区,broker存储并提供分区,生产者按键等规则选分区。 本卡将相邻说明中的适用限制保留为解释。
- 原始内容:Topics and partitions: In Kafka, messages are organized into topics. A topic is a category or feed name to which messages are published. Topics are further divided into partitions, which are the basic units of parallelism in Kafka.