kafka command to list all topics code example Example: kafka list topics bin/kafka-topics.sh --list --zookeeper localhost:2181