Following some tutorials / courses about the Apache Kafka I have a question about reassigning the partitions. CLI kafka-reassign-partitions
reassigns the leaders and partitions, looks good.
However it was mentions that this command can be used to in case a partition leader broker is not available to elect another partition leader.
Question: If a partition leader broker (say any broker) is not available, shouldn't a new leader be elected automatically? Isn't it responsibility of the controller node? Or was it just a wrongly intended usage?