kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "HUSLEAG Dumitru (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KAFKA-7291) kafka-console-consumer.sh waits on inexistent topic
Date Tue, 14 Aug 2018 15:29:00 GMT
HUSLEAG Dumitru created KAFKA-7291:
--------------------------------------

             Summary: kafka-console-consumer.sh waits on inexistent topic
                 Key: KAFKA-7291
                 URL: https://issues.apache.org/jira/browse/KAFKA-7291
             Project: Kafka
          Issue Type: Bug
          Components: consumer
    Affects Versions: 0.8.2.2
            Reporter: HUSLEAG Dumitru


Hello,

My request concerns kafka-console-consumer.sh behavior (which I suppose is based on KafkaConsumer).

If I try to consume from a topic that does not exist it connects and waits as if it existed,
which I find is illogical.

The broker does not have enabled *{{auto.create.topics.enable}}*

{{Let's say I launch this command:}}

{code}
./kafka-console-consumer.sh --zookeeper $(hostname):2181/kafka --topic inexistentTopic
{code}

and inexistentTopic does not exist indeed, then the kafka-console-consumer.sh will wait forever
instead of exit with error code and display an error message saying that the topic does not
exist. 
Anyway that's the way I would expect it to behave in this case.

Please consider this request.
Regards,
Dumitru

 



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

Mime
View raw message