show

Use this command to display an object's configuration values on the cluster to which you are connected.

Synopsis

show <ShowCommandArg> [ShowCommandArg Options]

Show Command Forms

show akd-script-version
(UNIX only) Show the version of the underlying Apache Kafka scripts used for command execution.
show all-topics [exclude-internal|force|topics-with-overrides|unavailable-partitions|under-replicated-partitions|disable-rack-aware]
Show information about all topics in the cluster.
show broker <String> [force]
Show information about all topics in the cluster.
show broker-api-version
Show the Apache Kafka broker API version.
show client <String> [force]
Show information about a specified client application in the cluster.
show log-dirs [topic <Topic Name>|no-formatting]
Show information about log directories for all topics, or a specified topic.
show log-dump <File> [deep-iteration|index-sanity-check|key-decoder-class <String>|max-message-size <Int>|offsets-decoder|print-data-log|transaction-log-decoder|value-decoder-class <String>|verify-index-only]
Show the contents of a specified log file.
show topic <TopicNames> [exclude-internal|force|if-exists|topics-with-overrides|unavailable-partitions|under-replicated-partitions|disable-rack-aware]
Show information about a specified topic or topics in the cluster. TopicNames is a string that specifies one or multiple topic names. For multiple topics, separate the topics with a comma.
show user <String> [force]
Show information about a specified client application in the cluster.
show zookeeper
Show information about the cluster's ZooKeeper(s).
Note: For explanations of options for the above command forms, see the Apache Kafka documentation.

Examples

cluster@myCluster> show all-topics 
Topic:topic1    PartitionCount:1        ReplicationFactor:1     Configs:
        Topic: topic1   Partition: 0    Leader: 0       Replicas: 0     Isr: 0
Topic:topic2    PartitionCount:1        ReplicationFactor:1     Configs:
        Topic: topic2   Partition: 0    Leader: 0       Replicas: 0     Isr: 0
Topic:topic3    PartitionCount:1        ReplicationFactor:1     Configs:
        Topic: topic3   Partition: 0    Leader: 0       Replicas: 0     Isr: 0
Topic:topic6    PartitionCount:1        ReplicationFactor:1     Configs:
        Topic: topic6   Partition: 0    Leader: 0       Replicas: 0     Isr: 0
Topic:topicname PartitionCount:1        ReplicationFactor:1     Configs:
        Topic: topicname        Partition: 0    Leader: 0       Replicas: 0     Isr: 0

cluster@myCluster> show topic topic2 
Topic:topic2    PartitionCount:1        ReplicationFactor:1     Configs:
        Topic: topic2   Partition: 0    Leader: 0       Replicas: 0     Isr: 0

cluster@myCluster> show broker 0
Configs for brokers '0' are log.message.timestamp.type=CreateTime

cluster@myCluster> show client 0
Configs for client-id '0' are request_percentage=50

cluster@myCluster> show user tibcoUser
Configs for user-principal 'tibcoUser' are request_percentage=99