You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Harald Kirsch (JIRA)" <ji...@apache.org> on 2016/03/24 16:25:25 UTC

[jira] [Created] (KAFKA-3457) KafkaConsumer.committed(...) hangs forever if port number is wrong

Harald Kirsch created KAFKA-3457:
------------------------------------

             Summary: KafkaConsumer.committed(...) hangs forever if port number is wrong
                 Key: KAFKA-3457
                 URL: https://issues.apache.org/jira/browse/KAFKA-3457
             Project: Kafka
          Issue Type: Bug
          Components: clients
    Affects Versions: 0.9.0.1
            Reporter: Harald Kirsch


Create a KafkaConsumer with default settings but with a wrong host:port setting for bootstrap.servers. Have it in some consumer group, do not subscribe or assign partitions.

Then call .committed(...) for a topic/partition combination a few times. It will hang on the 2nd or third call forever. In the debug log you will see that it repeats connections all over again. I waited many minutes and it never came back to throw an Exception.

The connections problems should at least pop out on the WARNING log level. Likely the connection problems should throw an exception eventually.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)