curator-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cameron McKenzie <>
Subject Curator namespaces
Date Sun, 20 Oct 2013 23:52:23 GMT
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?

View raw message