A CLI tool that gathers statistics about a Apache Kafka topic by reading it from beginning to end and counting various metrics.
$> ./kafka-topic-analyzer -h
Kafka Topic Analyzer
USAGE:
kafka-topic-analyzer --bootstrap-server <BOOTSTRAP_SERVER> --topic <TOPIC>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-b, --bootstrap-server <BOOTSTRAP_SERVER> Bootstrap server(s) to work with, comma separated
-t, --topic <TOPIC> The topic to analyze
By now, the only way of installing it is building it from source or
via cargo install kafka-topic-analyzer
. In both cases you need to
have the rust toolchain installed via http://rustup.rs/.