How Do I Change a Partition Leader for a Topic in Kafka Manager?
Perform the following steps:
- Log in to Kafka Manager.
- 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.
Kafka Manager FAQs
- Can I Configure a Kafka Manager Account to Be Read-Only?
- Why Can't I See Broker Information After Logging In to Kafka Manager?
- Yikes! Insufficient partition balance when creating topic : projectman_project_enterprise_project Try again.
- Can I Query the Body of a Message by Using Kafka Manager?
- Can I Change the Port of the Kafka Manager Web UI?
- Which Topic Configurations Can Be Modified on Kafka Manager?
- Why Is Information Displayed on Kafka Manager Inconsistent with Cloud Eye Monitoring Data?
- How Do I Change a Partition Leader for a Topic in Kafka Manager?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
more