https://github.com/rda3mon/kafka-cli
kafka cli
https://github.com/rda3mon/kafka-cli
Last synced: 10 months ago
JSON representation
kafka cli
- Host: GitHub
- URL: https://github.com/rda3mon/kafka-cli
- Owner: rda3mon
- License: apache-2.0
- Created: 2020-07-18T13:30:23.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-07-26T17:39:09.000Z (almost 3 years ago)
- Last Synced: 2025-02-23T11:15:08.329Z (over 1 year ago)
- Language: Java
- Size: 22.5 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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