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
Regards;