Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-1543

Changing replication factor

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • replication, tools
    • None

    Description

      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

      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
      

      Attachments

        1. can-change-replication.patch
          2 kB
          Alexey Ozeritskiy

        Activity

          People

            Unassigned Unassigned
            aozeritsky Alexey Ozeritskiy
            Votes:
            8 Vote for this issue
            Watchers:
            16 Start watching this issue

            Dates

              Created:
              Updated: