THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
So it is necessary to add to add a tool to deal with replica and leader balance.
Proposed Changes
Public Interfaces
...
Rejected Alternatives
We can also use use ReassignPartitionsCommand to move replicas to make replica balance and change the first replica in ARs to make leader balance by manual operation.However it will become more and more difficult with topic and broker increasing.