You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Manikumar (JIRA)" <ji...@apache.org> on 2018/06/01 15:32:00 UTC

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

     [ https://issues.apache.org/jira/browse/KAFKA-3457?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Manikumar resolved KAFKA-3457.
------------------------------
    Resolution: Fixed

This is addressed by KIP-266. 

> 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
>            Assignee: Liquan Pei
>            Priority: Major
>
> 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
(v7.6.3#76005)