aboutsummaryrefslogtreecommitdiffstats
path: root/kafka
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-04-24 16:12:13 -0700
committerBryan Newbold <bnewbold@archive.org>2020-04-24 16:12:13 -0700
commita8d76d29c23b9aaf32fe531e56244bb3422a23aa (patch)
tree2016fcd8e337bca59bda99ab030e9c97c58dde0d /kafka
parent9adef98909e24179a6466da8716794c95173412b (diff)
downloadsandcrawler-a8d76d29c23b9aaf32fe531e56244bb3422a23aa.tar.gz
sandcrawler-a8d76d29c23b9aaf32fe531e56244bb3422a23aa.zip
kafka: more reblance notes
Diffstat (limited to 'kafka')
-rw-r--r--kafka/howto_rebalance.md15
1 files changed, 14 insertions, 1 deletions
diff --git a/kafka/howto_rebalance.md b/kafka/howto_rebalance.md
index 06ae507..d68b205 100644
--- a/kafka/howto_rebalance.md
+++ b/kafka/howto_rebalance.md
@@ -1,5 +1,15 @@
-## Rebalance Storage Between Brokers
+## Rebalance Storage Between Brokers (kafka-manager web)
+
+For each topic you want to rebalance (eg, the large or high-throughput ones),
+go to the topic page and do the blue "reassign partitions" button (or
+potentially "generate" or "manual").
+
+Monitor progress with the "Reassign Partitions" link at top of the page.
+
+Finally, run a preferred replica election after partition movement is complete.
+
+## Rebalance Storage Between Brokers (CLI)
For example, after adding or removing brokers from the cluster.
@@ -27,3 +37,6 @@ If that looks good, start the rebalance:
Then monitor progress:
./kafka-reassign-partitions.sh --zookeeper localhost:2181 --reassignment-json-file /tmp/new-plan.json --verify
+
+Finally, run a preferred replica election after partition movement is complete.
+Currently do this through the web interface (linked above).