From dev-return-113707-archive-asf-public=cust-asf.ponee.io@kafka.apache.org Mon May 4 20:20:56 2020 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 [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id E84AD180608 for ; Mon, 4 May 2020 22:20:55 +0200 (CEST) Received: (qmail 10428 invoked by uid 500); 4 May 2020 20:20:54 -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 10411 invoked by uid 99); 4 May 2020 20:20:54 -0000 Received: from Unknown (HELO mailrelay1-lw-us.apache.org) (10.10.3.159) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 May 2020 20:20:54 +0000 Received: from auth1-smtp.messagingengine.com (auth1-smtp.messagingengine.com [66.111.4.227]) by mailrelay1-lw-us.apache.org (ASF Mail Server at mailrelay1-lw-us.apache.org) with ESMTPSA id 760E68266 for ; Mon, 4 May 2020 20:20:54 +0000 (UTC) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailauth.nyi.internal (Postfix) with ESMTP id 496A327C0054 for ; Mon, 4 May 2020 16:20:54 -0400 (EDT) Received: from imap1 ([10.202.2.51]) by compute4.internal (MEProxy); Mon, 04 May 2020 16:20:54 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrjeeggddugedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderredtnecuhfhrohhmpedfveholhhinhcuofgtvegrsggvfdcuoegtmhgttggrsggv segrphgrtghhvgdrohhrgheqnecuggftrfgrthhtvghrnheptdfgieduvdevvdfgvddvud ejieevvedtgfekvdefhfefleevudeihfeukeeuheeknecuvehluhhsthgvrhfuihiivgep tdenucfrrghrrghmpehmrghilhhfrhhomheptghmtggtrggsvgefudegodhmvghsmhhtph gruhhthhhpvghrshhonhgrlhhithihqdegiedukeegudeftddqudehheekkeehudegqdgt mhgttggrsggvpeeprghprggthhgvrdhorhhgsehfrghsthhmrghilhdrtghomh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 20746C200A5; Mon, 4 May 2020 16:20:54 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-dev0-351-g9981f4f-fmstable-20200421v1 Mime-Version: 1.0 Message-Id: <7aed1a7b-5510-4111-ac3a-ce7a50e18acf@www.fastmail.com> In-Reply-To: References: <740324AE-8F44-46AF-B847-E361766D0B72@confluent.io> Date: Mon, 04 May 2020 13:18:53 -0700 From: "Colin McCabe" To: dev@kafka.apache.org Subject: Re: [DISCUSS] KIP-601: Configurable socket connection timeout Content-Type: text/plain Hmm. A big part of the reason behind the KIP is that the default connection timeout behavior of the OS doesn't work for Kafka, right? For example, on Linux, if we wait 127 seconds for a connection attempt to time out, we won't get a chance to make another attempt in most cases. So I think it makes sense to set a shorter default. best, Colin On Mon, May 4, 2020, at 09:44, Jose Garcia Sancio wrote: > Thanks for the KIP Cheng, > > > The default value will be 10 seconds. > > I think we should make the default the current behavior. Meaning the > default should leverage the default connect timeout from the operating > system. > > > Proposed Changes > > I don't fully understand this section. It seems like it is mainly > focused on the problem with the current implementation. Can you > explain how the proposed changes solve the problem? > > Thanks. > > > -- > -Jose >