You can use the reassign partitions CLI tool to generate a partition reassignment for the topic, and then manually edit the JSON to add a third replica ID to each partition before you run it.
Alternately, you can use our kafka-assigner tool ( https://github.com/linkedin/kafka-tools) to do it in a more automated fashion. -Todd On Wed, Apr 26, 2017 at 12:25 PM Naanu Bora <naanub...@gmail.com> wrote: > Hi, > In our team some developers created topics with replication factor as 1 > by mistake and number of partition in the range of 20-40. How to increase > the replication factor to 3 for those topics now? Do we need to come up > with a manual assignment plan for each of the partitions? Is there any > quicker way to achieve this? > > Thanks! > -- *Todd Palino* Senior Staff Engineer, Site Reliability Data Infrastructure Streaming linkedin.com/in/toddpalino