public int getServerPort() {
return PORT;
}
public static IZkConnection createZkConnection(String connectString) {
Timing timing = new Timing();
CuratorFramework client = CuratorFrameworkFactory.newClient(connectString, timing.session(), timing.connection(), new RetryOneTime(1));
client.start();
try
{
return new CuratorZKClientBridge(client);
}