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>.