为什么在 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/