How Do I Change a Partition Leader for a Topic in Kafka Manager?
Perform the following steps:
- .
- Choose Topic > List.
- Click the topic name (for example, topic-test) for which a partition leader is to be modified.
- Click Manual Partition Assignments.
Figure 1 Topic details
Figure 2 Page for modifying partition leaders
For example, in the preceding figure, the leader (Replica 0) of Partition 2 is on Broker 2.
- Change the leader and click Save Partition Assignment.
If the modification is successful, the information shown in the following figure is displayed.
- Click Go to topic view.
- Click Reassign Partitions to save the change.
After the change is saved, the information shown in the following figure is displayed.
- In the breadcrumb navigation, click the topic name. On the topic details page that is displayed, view the partition details.
As shown in the preceding figure, the leader of partition 2 has been changed from 2 to 1.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot