Hi Fares, I don't know if there is other simpler solution, but I think the `kafka-reassign-partitions` command is the safest way.
Thank you. Luke On Wed, Apr 6, 2022 at 11:32 PM Fares Oueslati <oueslati.fa...@gmail.com> wrote: > Hey 👋 > I am using a jbod setup in a 2.8 Kafka cluster. > > I started with only one disk in my JBOD, all partitions are on one volume > (one log.dir) > > I have added a disk with the right log.dir and the brokers are well > configured, I would like to move all replicas of all partitions without > exception from the first volume to the new one. > > With the `kafka-reassign-partitions` command it seems to be a bit too much > trouble. > I need to generate a `Proposed partition reassignment configuration` and > then modify the paths to the log_dirs dynamically according to what is in > the `replicas` list. > > It can be automated but I wonder if there is a simpler solution for my > relatively simple need. > > Thanks >