There's also been interest in having a "chroot" type capability as part of the connect string:

"host:port/app/abc,..."

where the client's session would be rooted at /app/abc rather than /

This is very useful in multi-tenant situations (more than 1 app sharing a zk cluster).

Patrick

Benjamin Reed wrote:
Using a string gives us some flexibility. There is an outstanding issue to be 
able to pass in a URL: http://aeoueu/oeueue, the idea being that we pull down 
the content to get the list of servers and ports.

ben

________________________________________
From: thomas.john...@sun.com [thomas.john...@sun.com]
Sent: Wednesday, January 07, 2009 8:35 AM
To: zookeeper-user@hadoop.apache.org
Subject: Re: Reconnecting to another host on failure but before session 
expires...

Kevin Burton wrote:
Crazy, I don't know how I missed that...
Wouldn't it be cleaner to specify this as a List<String> of host:port names?


If API cleanup was being considered, my inclination would have been
List<InetSocketAddress>.

Reply via email to