Hello Kafka Version: 0.11.0.1
I am trying to increase replication factor for a topic and i am getting the below error. Can anyone help explain what the error means? The json is not empty $ cat increase-replication-factor.json {"version":1, "partitions":[ {"topic":"metrics","partition":0,"replicas":[1,2]}, {"topic":"metrics","partition":1,"replicas":[2,3]}, ]} $ sudo /opt/kafka/kafka_2.12-0.11.0.1/bin/kafka-reassign-partitions.sh --zookeeper server1:2181 --reassignment-json-file increase-replication-factor.json --execute Partitions reassignment failed due to Partition reassignment data file is empty kafka.common.AdminCommandFailedException: Partition reassignment data file is empty at kafka.admin.ReassignPartitionsCommand$.parseAndValidate(ReassignPartitionsCommand.scala:188) at kafka.admin.ReassignPartitionsCommand$.executeAssignment(ReassignPartitionsCommand.scala:158) at kafka.admin.ReassignPartitionsCommand$.executeAssignment(ReassignPartitionsCommand.scala:154) at kafka.admin.ReassignPartitionsCommand$.main(ReassignPartitionsCommand.scala:51) at kafka.admin.ReassignPartitionsCommand.main(ReassignPartitionsCommand.scala) Thanks -- Allen Michael Chan