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