通过kafka-topics.sh 的alter选项 ,将topic1的partitions从1增加到6;
./kafka-topics.sh --alter --topic topic1 --zookeeper zkip:2181/kafka --partitions 6
来源:http://blog.csdn.net/liliwei0213/article/details/55212766
./kafka-topics.sh --alter --topic topic1 --zookeeper zkip:2181/kafka --partitions 6
来源:http://blog.csdn.net/liliwei0213/article/details/55212766