Hi, From the Zookeeper constructore in JAVA API: “To create a ZooKeeper client object, the application needs to pass a connection string containing a comma separated list of host:port pairs, each corresponding to a ZooKeeper server.”
I see that zookeeper resolves all the IPs from an address and randomly picks one. Why would multiple addresses, one for each server be needed? Why couldn’t zk client resolve all the servers from a single address? I’m asking this for helm deployment on Kubernetes as zookeeper is deployed with a single headless service that points to multiple server.