[ https://issues.apache.org/jira/browse/KAFKA-1543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14065616#comment-14065616 ]
Jay Kreps commented on KAFKA-1543: ---------------------------------- I wonder if it would make more sense to have the alter topic command do this. Something like: {code} bin/kafka-topics.sh --zookeeper host:port --alter --topic name --replication-factor 3 {code} > Changing replication factor > --------------------------- > > Key: KAFKA-1543 > URL: https://issues.apache.org/jira/browse/KAFKA-1543 > Project: Kafka > Issue Type: Improvement > Reporter: Alexey Ozeritskiy > Attachments: can-change-replication.patch > > > It is difficult to change replication factor by manual editing json config. > I propose to add a key to kafka-reassign-partitions.sh command to > automatically create json config. > Example of usage > {code} > kafka-reassign-partitions.sh --zookeeper zk --replicas new-replication-factor > --topics-to-move-json-file topics-file --broker-list 1,2,3,4 --generate > > output > {code} -- This message was sent by Atlassian JIRA (v6.2#6252)