kafka 重新分配leader kafka-preferred-replica-election.sh
bin/kafka-preferred-replica-election.sh --zookeeper hostzk/kafka-real
bin/kafka-preferred-replica-election.sh --zookeeper localhost:12913/kafka --path-to-json-file topicPartitionList.json
topicPartitionList.json:
{"partitions":[{"topic":"topic","partition": 0},{"topic":"topic","partition": 1},{"topic":"topic","partition": 2},{"topic":"topic","partition": 3},{"topic":"topic","partition": 4},{"topic":"topic","partition": 5},{"topic":"topic","partition": 6},{"topic":"topic","partition": 7}]}
相关推荐
jiangkai00 2020-03-20
sweetgirl0 2020-02-21
yangyutong00 2019-12-30
amwayy 2019-12-22
amwayy 2019-12-21
那年夏天0 2019-12-05
ljcsdn 2020-07-27
woaishanguosha 2020-07-18
qingyuerji 2020-06-14
MojitoBlogs 2020-06-14
MojitoBlogs 2020-06-09
猫咪的一生 2020-06-03
guicaizhou 2020-05-05
猫咪的一生 2020-05-03
jiangkai00 2020-04-15
方新德 2020-04-08
那年夏天0 2020-02-22
sweetgirl0 2020-02-09