kafka-metadata-quorum.sh: describe the KRaft metadata quorum
kafka-metadata-quorum.sh (--bootstrap-server | --bootstrap-controller) <servers> {describe,add-controller,remove-controller} ...
Options you will use
--bootstrap-server <String: server to connect to>- REQUIRED: the Kafka broker(s) to connect to, host:port[,host:port]. Give more than one: the first may be the broker that is down.
--bootstrap-controller <String>- talk to the controllers directly (host:9093).
--command-config <String: file>- admin client configs from a file.
Examples
$ kafka-metadata-quorum.sh --bootstrap-server kafka-1:9092 describe --statuswho leads the quorum
Taught in
Try kafka-metadata-quorum.sh in a real terminal Free, in your browser - a real Ubuntu terminal to try it in, with missions that check your work.