Kafka-Utils v1.2.0¶
Description¶
Kafka-Utils is a library containing tools to interact with kafka clusters and manage them. The tool provides utilities like listing of all the clusters, balancing the partition distribution across brokers and replication-groups, managing consumer groups, rolling-restart of the cluster, cluster healthchecks.
For more information about Apache Kafka see the official Kafka documentation.
How to install¶
$ pip install kafka-utils
List available clusters.
$ kafka-utils
Cluster type sample_type:
Cluster name: cluster-1
broker list: cluster-elb-1:9092
zookeeper: 11.11.11.111:2181,11.11.11.112:2181,11.11.11.113:2181/kafka-1