list
Display a list of objects.
Use this command to display a list of specified objects from the connected cluster.
Synopsis
list <ListCommandArg> [ListCommandArg Options]
list acls
list acls [force|principal <String>|cluster|transaction-id <String>|operation <String>]
List specified ACLs.
Example:
cluster@myCluster> list acls Current ACLs for resource `Topic:LITERAL:topic2`: type5:fortopic2 has Allow permission for operations: All from hosts: *
list bootstrap-servers
list bootstrap-servers
List bootstrap-servers in the connected cluster.
list brokers
list brokers
List all Apache Brokers in the connected cluster.
list connections
list connections
List all current connections. This command also displays the current health status of the listed servers.
Example:
Cluster@my-cluster> list connections
Cluster@my-cluster: Zookeeper: localhost:2181 Zookeeper: localhost:2182 Zookeeper: localhost:2183 Broker: localhost:9092 Broker: localhost:9093
list topics
list topics disable-rack-aware [force|exclude-internal]
List specified topics.
exclude-internal: Exclude internal topics when running list or describe command. The internal topics will be listed by default.
list topics exclude-internal [force|disable-rack-aware]
List specified topics.
disable-rack-aware: Disable rack aware replica assignment.
Example:
cluster@myCluster> list topics topic1 topic2 topic3 topic6
list zookeepers
list zookeepers
List all Apache ZooKeepers in the connected cluster.