If you're passing a connection string with a full set of zookeeper nodes to your zookeeper client, load balancing will happen transparently inside the zookeeper client. I think using a load balancer is just going to trip you up - just put dns entries on your zookeeper servers and write those into your config.
On Thu, Apr 30, 2015 at 11:32 AM Brian Fleming <[email protected]> wrote: > I'm working in AWS. > > I have a load balancer in front of my zookeeper cluster. > > Can I use the load balancer DNS alias instead of entering the individual > IPs in the config? This way I don't need to constantly change the IP > addresses if they change. > > I guess if every operation to zookeeper is transactional, it should be > fine, right? > > Thanks >
