bin/kafka-topics.sh --zookeeper localhost:2181 --list
bin/kafka-topics.sh --zookeeper localhost:2181 --alter --topic mytopic --config retention.ms=1000
... wait a minute ...
bin/kafka-topics.sh --zookeeper localhost:2181 --alter --topic mytopic --delete-config retention.ms
bin/kafka-topics.sh --zookeeper localhost:2181 --delete --topic mytopic
bin/kafka-run-class.sh kafka.tools.GetOffsetShell --broker-list localhost:9092 --topic mytopic --time -2
bin/kafka-run-class.sh kafka.tools.GetOffsetShell --broker-list localhost:9092 --topic mytopic --time -1
bin/kafka-consumer-groups.sh --zookeeper localhost:2181 --list (old api)
bin/kafka-consumer-groups.sh --new-consumer --bootstrap-server localhost:9092 --list (new api)
bin/kafka-consumer-groups.sh --zookeeper localhost:2181 --group <group name> --describe