There's lots of open source tooling for this! Some examples, but there's plenty more:
https://github.com/Yelp/kafka-utils (more easy to use scripts) https://github.com/linkedin/cruise-control (automated system) https://github.com/DataDog/kafka-kit On Wed, Feb 19, 2020 at 4:52 PM Maurício Linhares < mauricio.linha...@gmail.com> wrote: > Imagine I have a kafka node that holds a lot of topics, the disk is > degraded so I have to start moving topics out of it to the other nodes > in the cluster. Kafka manager allows me to do that but the process is > cumbersome and requires a lot of clicks. > > The simplest solution to prevent most clicking would be to just click > on all topics but this is obviously not ideal as there will be a lot > of disruption with disk and networking changes all happening at the > same time. > > Is there a tool or something I could use (or an API I could call) that > would allow me to slowly move topics one by one instead? > > Kind of like running the reassign and getting the plans but > programatically, I'd rather not do bash magic for this. > > - > Maurício Linhares > http://mauricio.github.io/ - http://twitter.com/#!/mauriciojr >