Cluster Partition Rebalancer For Kafka is a tool that runs in the background on Kafka brokers and lets them move partitions across brokers to maintain a good balance of partitions per broker.
Перейти к файлу
Soumyajit Sahu dd63f14b0b Merge pull request #1 from mortonfox/patch-1
Fix license link
2016-09-19 10:25:19 -07:00
src/main Add rolling file appender to log4j properties 2016-07-18 16:32:28 -07:00
CONTRIBUTING.md Proof of Concept - First commit 2016-05-10 12:58:26 -07:00
LICENCE.txt Proof of Concept - First commit 2016-05-10 12:58:26 -07:00
README.md Fix license link 2016-09-17 01:00:09 -04:00
pom.xml Adding new watcher NoLeaderWatcher and some fixes 2016-07-08 17:04:05 -07:00

README.md

Cluster Partition Rebalancer For Kafka

Cluster Partition Rebalancer For Kafka is a tool that runs in the background on Kafka brokers and lets them move partitions across brokers to maintain a good balance of partitions per broker.

[This is at a Proof of Concept stage. You might have to change some utility code. Example: How to fetch all broker and zookeeper machines on your cluster]

Read more at: https://onedrive.live.com/redir?resid=98916D951A1A5BFB!2128&authkey=!ALpNOGFF80csKdo&ithint=file%2cpdf

Usage

  1. Clone the repository locally Git clone

  2. Change directory to your repo

  3. Build and package the project

mvn package
  1. Run the jar like this (preferably as a service so that it is restarted upon exit):
rm -f partitions-to-move.json*

On Windows:
java -cp "partitionRebalancerForKafka-1.0-SNAPSHOT.jar;*" BrokerLoadWatcher

On Linux:
java -cp "partitionRebalancerForKafka-1.0-SNAPSHOT.jar:*" BrokerLoadWatcher

License

License

Cluster Partition Rebalancer For Kafka is licensed under the MIT license. See LICENCE.txt file for full license information.