Return-Path: X-Original-To: apmail-zookeeper-dev-archive@www.apache.org Delivered-To: apmail-zookeeper-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2CD4D41BE for ; Thu, 7 Jul 2011 06:42:01 +0000 (UTC) Received: (qmail 3184 invoked by uid 500); 7 Jul 2011 06:42:00 -0000 Delivered-To: apmail-zookeeper-dev-archive@zookeeper.apache.org Received: (qmail 2793 invoked by uid 500); 7 Jul 2011 06:41:52 -0000 Mailing-List: contact dev-help@zookeeper.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@zookeeper.apache.org Delivered-To: mailing list dev@zookeeper.apache.org Received: (qmail 2756 invoked by uid 99); 7 Jul 2011 06:41:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2011 06:41:44 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Jul 2011 06:41:42 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 3E0144A30D for ; Thu, 7 Jul 2011 06:41:21 +0000 (UTC) Date: Thu, 7 Jul 2011 06:41:21 +0000 (UTC) From: "Mahadev konar (JIRA)" To: dev@zookeeper.apache.org Message-ID: <556326729.6327.1310020881250.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (ZOOKEEPER-781) provide a generalized "connection strategy" for ZooKeeper clients MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/ZOOKEEPER-781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13061069#comment-13061069 ] Mahadev konar commented on ZOOKEEPER-781: ----------------------------------------- Qian, Any update on this? > provide a generalized "connection strategy" for ZooKeeper clients > ----------------------------------------------------------------- > > Key: ZOOKEEPER-781 > URL: https://issues.apache.org/jira/browse/ZOOKEEPER-781 > Project: ZooKeeper > Issue Type: New Feature > Components: c client, java client > Reporter: Patrick Hunt > Assignee: Qian Ye > Fix For: 3.4.0 > > Attachments: ZOOKEEPER-781.patch, ZOOKEEPER-781.patch, ZOOKEEPER-781.patch, ZOOKEEPER-781.patch, ZOOKEEPER-781.patch, ZOOKEEPER-781.patch > > > A connection strategy allows control over the way that ZooKeeper clients (we would implement this for both c and java apis) connect to a serving ensemble. Today we have two strategies, randomized round robin (default) and ordered round robin, both of which are hard coded into the client implementation. We would generalize this interface and allow users to create their own. > See this page for more detail: http://wiki.apache.org/hadoop/ZooKeeper/ConnectionStrategy -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira