On Wed, Nov 20, 2024 at 9:15 AM Soham Chakraborty <dec.so...@gmail.com>
wrote:

>
>  So my goal is to know whether there is any knob by which I can force the
> leader and replica to go to different AZs and is there any automated
> way/tool to handle this for existing partitions. In other words, I want the
> leader and replica to be distributed across different AZs now and in
> future.
>

Maybe a bit heavy-weight for a one-time task, but Cruise Control from
LinkedIn does have rack-aware distribution goals that you can use to
"rebalance" your existing replicas:
https://github.com/linkedin/cruise-control

Otherwise you can use kafka-reassign-partitions script to achieve the same
result as a one-off task.


Cheers,
-- 
Alex

Reply via email to