apache-kafka - 动物园管理员 vs 卡夫卡筏

标签 apache-kafka apache-zookeeper raft

为什么在 Apache kafka 中用 kafka-raft 代替 ZooKeeper 来管理元数据?

我也浏览了 apache 博客 ( apache.org ) 上的文章,但找不到准确和简洁的原因。

期待一些好的见解。

最佳答案

来自 Kafka 改进提案 (KIP) 文档:

Currently, Kafka uses ZooKeeper to store its metadata about partitions and brokers, and to elect a broker to be the Kafka Controller. We would like to remove this dependency on ZooKeeper. This will enable us to manage metadata in a more scalable and robust way, enabling support for more partitions. It will also simplify the deployment and configuration of Kafka.

在这里阅读更多:KIP-500: Replace ZooKeeper with a Self-Managed Metadata Quorum

关于apache-kafka - 动物园管理员 vs 卡夫卡筏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/73080724/

相关文章:

consensus - Raft 集群中的节点如何知道 "majority"是什么?

java - 令人困惑的 Zookeeper 内存使用情况

apache-kafka - Apache-Kafka 的 Zookeeper : problems with port 2181 in Ubuntu 18. 04.01 服务器

Solr 和 Zookeeper - 3 个 Z 节点。我应该使用哪个节点作为 API 来搜索请求

elasticsearch - 将Logstash输入发送到多个输出

distributed-computing - CRDT 和 RAFT 协议(protocol)之间是否存在关系——或者它们是正交的?

distributed-system - 筏日志条目中的操作是否应幂等?

ssl - 在 SSL 模式下使用 apache kafka

python - Producer.poll(0) 不会产生任何消息,但 Producer.flush() 可以工作

docker - docker-compose 中的 Kafka Streams 需要很长时间进行分区分配