From user-return-12266-archive-asf-public=cust-asf.ponee.io@zookeeper.apache.org Mon Oct 28 23:13:53 2019 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 DF103180638 for ; Tue, 29 Oct 2019 00:13:52 +0100 (CET) Received: (qmail 85936 invoked by uid 500); 28 Oct 2019 23:13:51 -0000 Mailing-List: contact user-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@zookeeper.apache.org Delivered-To: mailing list user@zookeeper.apache.org Received: (qmail 85923 invoked by uid 99); 28 Oct 2019 23:13:51 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 28 Oct 2019 23:13:51 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 4AF221A00DD for ; Mon, 28 Oct 2019 23:13:50 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.002 X-Spam-Level: X-Spam-Status: No, score=0.002 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=jordanzimmerman-com.20150623.gappssmtp.com Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id N3kNJiTgfymP for ; Mon, 28 Oct 2019 23:13:48 +0000 (UTC) Received-SPF: None (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::e31; helo=mail-vs1-xe31.google.com; envelope-from=jordan@jordanzimmerman.com; receiver= Received: from mail-vs1-xe31.google.com (mail-vs1-xe31.google.com [IPv6:2607:f8b0:4864:20::e31]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id 3F1557DE13 for ; Mon, 28 Oct 2019 23:13:47 +0000 (UTC) Received: by mail-vs1-xe31.google.com with SMTP id v10so7515511vsc.7 for ; Mon, 28 Oct 2019 16:13:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jordanzimmerman-com.20150623.gappssmtp.com; s=20150623; h=from:content-transfer-encoding:mime-version:subject:date:references :to:in-reply-to:message-id; bh=9SjLsbZ9KWnU9xf667+mWuxrvGW6jQtjGnIHfd3dTN4=; b=L8BETi16qEfdeqqA/usSxfzKgCAfi45R+tUTrl9FvT8N3jHAUIPTTuAkX82tWxlBr/ g74ULg6gk6XDqKsyVJpoC8E+7RF360nM9nt5aJTgMxCViefyVKZZwEBK1fNlYsB//F/D qC9wStRfCsFh0f8eSaXPGLcPaapM2pknbV4Tiq33WZ6OvCQ7L299ZpPRI+4RbGq1wmA3 45Hw10X+YhNbHEgrk51djQcLXJMmsz+lh6WOc3aH9WeYfRr42Y17DZaXRtpIMjqr3cd7 vjVVp3nCcQr6E+ry92iph/5xln2VVl9HLhlO2SXRi4oB+HyFV0CdJyHtQFa1c0GC9Wib 920Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:content-transfer-encoding:mime-version :subject:date:references:to:in-reply-to:message-id; bh=9SjLsbZ9KWnU9xf667+mWuxrvGW6jQtjGnIHfd3dTN4=; b=XvOQ6Fk2SvseCT5V6CENj9YAvfeVbaZws/ns4hfpUVg12/S9KbxrA4aH0/+IFBxGYd LM9gaLp+qiRUE8n/TDjjGTczU8mDDppjzNNqYkMEUDVzJMwRcFJaI46JArwYoyObexmB YIS8+DrYNFIToVudQg1HF+4rFamLj3F0hKlNUc4spNdwejVOLkkHRFMOyZtD4KFs59lI a3QcshJJFR7voU6skaEI7HS0crlpFXU0HJ0kGjUrxhIKGHq6cPQY+spLLZdxVPcLtXhT DaiJeujPEmsFNlRe1QQ/kTOplcKqCUgJIjKKsdQb4AGde5o68j+cMhmPBNT4jYpleN8l 5fMg== X-Gm-Message-State: APjAAAWBLfxAkrHR0xbzqx1gjzqm3pB16FfcCYIByBLOt/Swh6h51t9k tpE1eAEu7ODKgN5xmxuHc9mB7bwoU5J0Cw== X-Google-Smtp-Source: APXvYqwjEvvT0xvn1FlBq5hk1JONHC9P5SWPS3J0J9JIqLMo8wZNU9Fe8+0HsPEQNl4iSS7cDH59Yg== X-Received: by 2002:a67:544:: with SMTP id 65mr34318vsf.12.1572304420071; Mon, 28 Oct 2019 16:13:40 -0700 (PDT) Received: from [10.0.1.85] ([186.75.215.49]) by smtp.gmail.com with ESMTPSA id w83sm5463053vkd.22.2019.10.28.16.13.39 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 28 Oct 2019 16:13:39 -0700 (PDT) From: Jordan Zimmerman Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3594.4.19\)) Subject: Re: ZooKeeper Connection Timeout Date: Mon, 28 Oct 2019 18:13:38 -0500 References: To: user@zookeeper.apache.org In-Reply-To: Message-Id: <60C340C4-7804-4F76-8D7E-E37E96D72549@jordanzimmerman.com> X-Mailer: Apple Mail (2.3594.4.19) There is no such thing in ZooKeeper itself. Apache Curator simulates = this by generating an error if the connection doesn't succeed within a = given period of time. -JZ > On Oct 28, 2019, at 6:03 PM, V P wrote: >=20 > Hello, >=20 > Could someone please point me to a place in the documentation on how = to > configure ConnectionTimeout for a ZooKeeper client connection? (Note: = What > I'm asking is different from SessionTimeout) >=20 > For example, if my ZK server is not available/not valid, is there a = way for > ZK client to stop retrying after "x" ms. >=20 > Thank you.