Details
Description
kafka-log-dirs.sh --bootstrap-server <broker1>:<port1> --describe --broker-list <broker-ID>
This command prints all log directories that results in an output of 500+ lines, if we only need the broker id's of the brokers that responded to check connectivity, the command should have an optional flag that shortens the output to only print broker id's, which leads to decrease in latency.