An open API service indexing awesome lists of open source software.

https://github.com/rda3mon/kafka-cli

kafka cli
https://github.com/rda3mon/kafka-cli

Last synced: 10 months ago
JSON representation

kafka cli

Awesome Lists containing this project

README

          

# kafka-cli
Kafka tool for managing complex kafka clusters

### Build the package

#### Clone the repository

```
git clone https://github.com/rda3mon/kafka-cli
```

#### Build the package

```
cd kafka-cli && mvn clean package
```

#### Help command

```
java -cp kafka-cli/target/kafka-cli-jar-with-dependencies.jar com.rdaemon.kafka.KafkaCli --help
Usage: kafkacli (-t | -p | -b) [-hlVv] [-gb] [-lb] -zk=
[-ts=...]...
-b, --broker
-gb, --generate-balancer
Generate partition balancer
-h, --help Show this help message and exit.
-l, --list Flag to list selected topic/partition/broker
-lb, --list-balancer List partition balancer
-p, --partition
-t, --topic
-ts, --topics=...
List of topics as input
-v, --verbose Verbose mode. Helpful for troubleshooting.
Multiple -v options increase the verbosity.
-V, --version Print version information and exit.
-zk, --zookeeper=
Zookeeper with port. Example: 127.0.0.1:2181
```

### TODO

* Limit the number of movement with stage wise movement
* Display per topic movement