You can also try this as it works fine for me bin/kafka-topics.sh --bootstrap-server localhost:9092 --topic topic_name --describe