From dev-return-94774-archive-asf-public=cust-asf.ponee.io@kafka.apache.org Fri Jun 1 17:32:05 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 0389A180677 for ; Fri, 1 Jun 2018 17:32:04 +0200 (CEST) Received: (qmail 99379 invoked by uid 500); 1 Jun 2018 15:32:03 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 99367 invoked by uid 99); 1 Jun 2018 15:32:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 01 Jun 2018 15:32:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 615D0180070 for ; Fri, 1 Jun 2018 15:32:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.511 X-Spam-Level: X-Spam-Status: No, score=-109.511 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 4ppPOT51T7vp for ; Fri, 1 Jun 2018 15:32:02 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 9D4D65F57E for ; Fri, 1 Jun 2018 15:32:02 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id D0382E015C for ; Fri, 1 Jun 2018 15:32:01 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id AA2F4210A6 for ; Fri, 1 Jun 2018 15:32:00 +0000 (UTC) Date: Fri, 1 Jun 2018 15:32:00 +0000 (UTC) From: "Manikumar (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (KAFKA-3457) KafkaConsumer.committed(...) hangs forever if port number is wrong MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KAFKA-3457?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Manikumar resolved KAFKA-3457. ------------------------------ Resolution: Fixed This is addressed by KIP-266.=C2=A0 > 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 s= etting for bootstrap.servers. Have it in some consumer group, do not subscr= ibe 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 se= e 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)