Is this the latest master? I've added the delete option in trunk, but it's not in any release yet.
We used to have the delete option flag but I believe we removed it that's why the documentation difference. Tim On Wed, Aug 6, 2014 at 10:53 PM, Shlomi Hazan <shl...@viber.com> wrote: > if the answer is pointing out the 'chroot', as a word, it makes no > difference. the result is the same: > > kafka/bin/kafka-topics.sh --zookeeper localhost:2181/chroot --delete > --topic topic-3 > > gives the same: > > "Command must include exactly one action: --list, --describe, --create or > --alter..." > > or should I write something instead of "chroot"? > > > > On Wed, Jun 18, 2014 at 2:06 PM, Shlomi Hazan <shl...@viber.com> wrote: > >> Hi, >> >> Doing some evaluation testing, and accidently create a queue with wrong >> replication factor. >> >> Trying to delete as in: >> >> kafka_2.10-0.8.1.1/bin/kafka-topics.sh --zookeeper localhost:2181 --delete >> --topic replicated-topic >> >> Yeilded: >> >> Command must include exactly one action: --list, --describe, --create or >> –alter >> >> Event though this page (https://kafka.apache.org/documentation.html) says: >> >> >> >> And finally deleting a topic: >> >> > bin/kafka-topics.sh --zookeeper zk_host:port/chroot --delete --topic >> my_topic_name >> >> WARNING: Delete topic functionality is beta in 0.8.1. Please report any >> bugs that you encounter on themailing list <%20us...@kafka.apache.org> or >> JIRA <https://issues.apache.org/jira/browse/KAFKA>. >> >> Kafka does not currently support reducing the number of partitions for a >> topic or changing the replication factor. >> >> What should I do? >> >> Shlomi >>