Options
- Subscribe to RSS Feed
- Mark as New
- Mark as Read
- Bookmark
- Subscribe
- Printer Friendly Page
- Report Inappropriate Content
Community Manager
Created on
12-10-2019
03:59 AM
- edited on
01-04-2021
04:58 AM
by
K23
This video article provides the steps on how to use Reassign Partitions Tool:
Create a file named topics-to-move.json with the following content:
{ "topics": [{"topic":"<partitionName>"}], "version":1 }
- Run the following command:
./kafka-reassign-partitions.sh --zookeeper master:2181 --topics-to-move-json-file topics-to-move.json --broker-list "<brokerID>" --generate
- Take the output from previous Proposed partition reassignment configuration and create another json file reassign-partition.json.
- Run the following command:
./kafka-reassign-partitions.sh --zookeeper master:2181 --reassignment-json-file reassign-partition.json --execute