Hi I have by mistake created a topic with replication factor of 1. I am trying to increase the replication, but I get the below error. Can anyone please let me know if I am doing anything wrong. The Topic is created with single partition(te_re-0).
./kafka-reassign-partitions.sh --zookeeper xxxx:2181 --command-config kafka.properties --reassignment-json-file increase-replication-factor.json -execute Partitions reassignment failed due to The proposed assignment contains non-existent partitions: ListBuffer(test_results-0) kafka.common.AdminCommandFailedException: The proposed assignment contains non-existent partitions: ListBuffer(te_re-0) at kafka.admin.ReassignPartitionsCommand$.parseAndValidate(ReassignPartitionsCommand.scala:341) at kafka.admin.ReassignPartitionsCommand$.executeAssignment(ReassignPartitionsCommand.scala:209) at kafka.admin.ReassignPartitionsCommand$.executeAssignment(ReassignPartitionsCommand.scala:205) at kafka.admin.ReassignPartitionsCommand$.main(ReassignPartitionsCommand.scala:65) at kafka.admin.ReassignPartitionsCommand.main(ReassignPartitionsCommand.scala) Thanks