You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Nathan Long (JIRA)" <ji...@apache.org> on 2019/02/07 14:39:00 UTC

[jira] [Commented] (KAFKA-7674) Quick Start Guide steps for managing topics do not work

    [ https://issues.apache.org/jira/browse/KAFKA-7674?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16762720#comment-16762720 ] 

Nathan Long commented on KAFKA-7674:
------------------------------------

I've just reinstalled from kafka_2.11-2.1.0.tgz and have the same issue.

> Quick Start Guide steps for managing topics do not work
> -------------------------------------------------------
>
>                 Key: KAFKA-7674
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7674
>             Project: Kafka
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 2.1.0
>         Environment: MacOS 10.13.6
>            Reporter: Nathan Long
>            Priority: Minor
>
> I'm following the [Apache Kafka Quick Start Guide]([https://kafka.apache.org/quickstart]) exactly, using [the release linked at the top]([https://www.apache.org/dyn/closer.cgi?path=/kafka/2.0.0/kafka_2.11-2.0.0.tgz]), which is versioned as "kafka_2.11-2.0.0.tgz".
> At "Step 3: Create a Topic", it says to run this to create a topic:
>     bin/kafka-topics.sh --create --zookeeper localhost:2181 \
>        --replication-factor 1 --partitions 1 --topic test
> The next step is to list the existing topics:
>     bin/kafka-topics.sh --list --zookeeper localhost:2181
> The documentation shows that `test` should be listed.
> The list command returns no output for me. I'm using the default configuration with `log.dirs=/tmp/kafka-logs`, and looking in that directory, I see no change when I run the command above to create a topic, even though the command exit status is 0.
> When I publish the first message to the topic, I see it fail to send the message, then successfully retry after the topic is auto-created. I'm then able to see the message when I run the console consumer:
>     bin/kafka-console-consumer.sh --bootstrap-server \
>        localhost:9092 --topic test --from-beginning
> I also do now see the topic as a directory in `/tmp/kafka-logs`.
> But even though the topic now clearly exists, when I list topics, it still finds nothing:
>     bin/kafka-topics.sh --list --zookeeper localhost:2181
> I don't know if this is a documentation problem or a bug, but I get no errors when running any of these commands, it seems like a bug.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)