Looks fine to me: from: https://www.apache.org/dyn/closer.cgi?path=/kafka/2.0.0/kafka_2.11-2.0.0.tgz tmp/kafka_2.11-2.0.0/bin% head -2 kafka-topics.sh #!/bin/bash # Licensed to the Apache Software Foundation (ASF) under one or more
Also from this src it's fine in there too: https://www.apache.org/dist/kafka/2.0.0/kafka-2.0.0-src.tgz Where did you download yours? On Tue, Oct 2, 2018 at 12:42 AM <tara...@mail.co.uk> wrote: > Hi, For this version of kafka-2.0.0 the file topic is empty, so don't work > also the first example "QUIKSTART" > > Step 3: Create A Topic > > Let's create a topic named "test" with a single partition and only one > replica: > > 1 > > bin/kafka-topics.sh --create --zookeeper localhost:2181 > --replication-factor 1 --partitions 1 --topic test > > We can now see that topic if we run the list topic command: > > 1 2 > > bin/kafka-topics.sh --list --zookeeper localhost:2181 test > > Alternatively, instead of manually creating topics you can also configure > your brokers to auto-create topics when a non-existent topic is published > to. > > On the link: > > https://kafka.apache.org/quickstart > <https://kafka.apache.org/quickstart> > > Regards; >