Return-Path: X-Original-To: apmail-curator-user-archive@minotaur.apache.org Delivered-To: apmail-curator-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0F19410CE3 for ; Sun, 20 Oct 2013 23:52:52 +0000 (UTC) Received: (qmail 84297 invoked by uid 500); 20 Oct 2013 23:52:52 -0000 Delivered-To: apmail-curator-user-archive@curator.apache.org Received: (qmail 84268 invoked by uid 500); 20 Oct 2013 23:52:51 -0000 Mailing-List: contact user-help@curator.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@curator.incubator.apache.org Delivered-To: mailing list user@curator.incubator.apache.org Received: (qmail 84260 invoked by uid 99); 20 Oct 2013 23:52:51 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Oct 2013 23:52:51 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of mckenzie.cam@gmail.com designates 209.85.192.170 as permitted sender) Received: from [209.85.192.170] (HELO mail-pd0-f170.google.com) (209.85.192.170) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 20 Oct 2013 23:52:45 +0000 Received: by mail-pd0-f170.google.com with SMTP id v10so1498583pde.15 for ; Sun, 20 Oct 2013 16:52:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=XalfjcLxwxwQ7K67NygJO++8Q7U5SwixbniANVWY9lY=; b=iBvg3hP3gdl9y4Moz1ZnlGneOwLfNUscXVFfrLWBzuaJHz9Ci0lrYg420XqnAo2eqN KescrdaS+zVt8tck170zviZ8VPiHZEDAy0M4LaRJYJMJgudlhk8fZBe6jhfKcrhbF/yu qCkM5N8pOqhjakkbOa4IBOwSpnKJqZ5T6OA8xZ15wrgyvkjEIvP1KyHV+R5BvT1EQb9K cjdqbUERa4pweDNUybVWKIwe1TnroZ8YIjHZqmMWCH75IJOlFq+V8EjJlUM0gThX5SU+ y9SVlUwRh7B11BXQnJytVHjGBVzj9j7tKLCOH3zzKLI98oTb0iMoF27nb/rfm5Pp/GRR 8Y9Q== MIME-Version: 1.0 X-Received: by 10.68.254.105 with SMTP id ah9mr14769127pbd.87.1382313143756; Sun, 20 Oct 2013 16:52:23 -0700 (PDT) Received: by 10.68.236.7 with HTTP; Sun, 20 Oct 2013 16:52:23 -0700 (PDT) Date: Mon, 21 Oct 2013 10:52:23 +1100 Message-ID: Subject: Curator namespaces From: Cameron McKenzie To: user@curator.incubator.apache.org Content-Type: multipart/alternative; boundary=047d7b2e1043e6f10004e934db31 X-Virus-Checked: Checked by ClamAV on apache.org --047d7b2e1043e6f10004e934db31 Content-Type: text/plain; charset=ISO-8859-1 Not sure if I'm missing something, but it appears that there is a difference in functionality between defining a namespace during using the CuratorFrameworkFactory.builder().namespace("bla") method, and calling usingNamespace("bla") on an instance of the CuratorFramework itself. Both seem to create nodes correctly in ZooKeeper, but the paths for the events are inconsistent. If you using the Builder approach, the paths in the events do not include the namespace. If you use the CuratorFramework usingNamespace() approach, then the namespaces do appear in the event path. Is this by design? Or just a side effect? cheers Cam --047d7b2e1043e6f10004e934db31 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Not sure if I'm missing something, but it appears that= there is a difference in functionality between defining a namespace during= using the CuratorFrameworkFactory.builder().namespace("bla") met= hod, and calling usingNamespace("bla") on an instance of the Cura= torFramework itself.

Both seem to create nodes correctly in ZooKeeper, but the pa= ths for the events are inconsistent. If you using the Builder approach, the= paths in the events do not include the namespace. If you use the CuratorFr= amework usingNamespace() approach, then the namespaces do appear in the eve= nt path.

Is this by design? Or just a side effect?
che= ers
Cam


--047d7b2e1043e6f10004e934db31--