kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manikumar (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (KAFKA-3457) KafkaConsumer.committed(...) hangs forever if port number is wrong
Date Fri, 01 Jun 2018 15:32:00 GMT

     [ 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:
>            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

View raw message