kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Rann <br...@zendesk.com.INVALID>
Subject Re: kafka-2.0.0-src/bin/kafka-topics.sh The shell file is empty;
Date Thu, 04 Oct 2018 02:49:07 GMT
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 <taranta@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;
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message