kafka之为topic增加partition
时间:2019-07-08 14:37:02
[导读]操作指令如下:将topic gome中的partition增加到10个
bin/kafka-topics.sh --alter --zookeeper 10.112.179.12:2181 --par
操作指令如下:将topic gome中的partition增加到10个
bin/kafka-topics.sh --alter --zookeeper 10.112.179.12:2181 --partitions 10 --topic gome具体参数的含义可以通过执行bin/kafka-topics.sh来查看,如下所示:





