目录
二. 节点退役(Decommissioning brokers)
三. 增加副本(Increasing replication factor)
四. 数据迁移期间限制带宽使用(Limiting Bandwidth Usage during Data Migration)
一. 前言
Kafka 节点退役是指将一个节点永久地从集群中移除的过程。节点退役通常发生在节点故障、硬件损坏或集群扩容等情况下。节点退役的原理同样基于 Kafka 的分布式设计和复制机制。当一个节点需要退役时,需要将该节点上的所有分区的 Leader 副本迁移到其他节点上,并将该节点上的所有副本从集群中移除。
二. 节点退役(Decommissioning brokers)
原文引用:The partition reassignment tool does not have the ability to automatically generate a reassignment plan for decommissioning brokers yet. As such, the admin has to come up with a reassignment plan to move the replica for all partitions host