THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
...
Code Block | ||
---|---|---|
| ||
$ bin/kafka-metadata-quorum.sh describe -h usage: kafka-metadata-quorum [-h] --bootstrap-server BOOTSTRAP_SERVER describe [-h] [-command-config COMMAND_CONFIGstatus] [--replication] [-hr] {describe} ... This tool describes kraft metadata quorum status. positional arguments: {describe} describe Describe the metadata quorum info optional arguments: -h, --help show this help message and exit Status: --bootstrap-server BOOTSTRAP_SERVER status A short summary of the quorum status and the other provides Adetailed comma-separated list of host:port pairs to use for establishing the connection to the Kafka cluster. information about the status of replication. Replication: --command-config COMMAND_CONFIG replication Detailed information about the status Property file containing configs to be passed to Admin Client.of replication -hr, --human-readable Print human-readable timestamps (default: false) |
Proposed Changes
The current default --replication output is as follows and will remain unchanged.
...
Code Block | ||
---|---|---|
| ||
$ bin/kafka-metadata-quorum.sh --bootstrap-server :9092 -hr describe --replication -hr NodeId LogEndOffset Lag LastFetchTimestamp LastCaughtUpTimestamp Status 2 541 8609 0 34 ms ago 34 ms ago Leader 3 541 8609 0 366155 ms ago 366155 ms ago Follower 4 541 8609 0 366155 ms ago 366155 ms ago Follower $ bin/kafka-metadata-quorum.sh --bootstrap-server :9092 describe --replication --human-readable describe --replication NodeId LogEndOffset Lag LastFetchTimestamp LastCaughtUpTimestamp Status 2 541 8689 0 34 ms ago 34 ms ago Leader 3 541 8689 0 366148 ms ago 366148 ms ago Follower 4 541 8689 0 366148 ms ago 366148 ms ago Follower |
Compatibility, Deprecation, and Migration Plan
...