list

Display a list of objects.

Use this command to display a list of specified objects from the cluster to which you are connected.

Synopsis

list <ListCommandArg> [ListCommandArg Options]

List Command Forms

list connections
List all current connections. This command also displays the current health status of the listed servers
list zookeepers
List all Apache ZooKeepers in the cluster to which you are currently connected.
list brokers
List all Apache Brokers in the cluster to which you are currently connected.
list acls [force | principal <String> | cluster | transaction-id <String> | operation <String>]
List specified ACLs.
list topics [force | exclude-internal | disable-rack-aware]
List specified topics.

Examples

cluster@myCluster> list topics
topic1
topic2
topic3
topic6

cluster@myCluster> list acls
Current ACLs for resource `Topic:LITERAL:topic2`:
        type5:fortopic2 has Allow permission for operations: All from hosts: *

Cluster@my-cluster> list connections

Cluster@my-cluster:
	Zookeeper: localhost:2181

	Zookeeper: localhost:2182

	Zookeeper: localhost:2183

	Broker: localhost:9092
	Broker: localhost:9093

See Also

create, delete