目录

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
  4. 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](https://img.shields.io/badge/license-MIT-blue.svg?style=plastic)](https://github.com/Microsoft/SparkCLR/blob/master/LICENSE.txt)

Cluster Partition Rebalancer For Kafka is licensed under the MIT license. See [LICENCE.txt](/mirrors/Cluster-Partition-Rebalancer-For-Kafka/tree/master/LICENCE.txt) file for full license information.
关于
47.0 KB
邀请码
    Gitlink(确实开源)
  • 加入我们
  • 官网邮箱:gitlink@ccf.org.cn
  • QQ群
  • QQ群
  • 公众号
  • 公众号

版权所有:中国计算机学会技术支持:开源发展技术委员会
京ICP备13000930号-9 京公网安备 11010802032778号