ubuntu@batman:~/kafka_2.10-0.8.2.2$ ./bin/kafka-topics.sh --delete --topic test-topic --zookeeper 192.168.103.46:2181Topic test-topic is marked for deletion.
Note:This will have no impact if delete.topic.enable is not set to true.
ubuntu@batman:~/kafka_2.10-0.8.2.2$ ./bin/kafka-topics.sh --list --zookeeper 192.168.103.46:2181
shiquan-topic
shiquan-topic3
test-topic - marked for deletion
--from-beginning If the consumer does not already have an established offsetto consume
from, start withthe earliest
message present inthelog rather
than the latest message.