To support high available Zookeeper service, we need to configure Zookeeper ensemble. But this is not enough. we need to understand how client manages connection to Zookeeper server. For test, I set up a Zookeeper ensemble. (port : 2181, 2182, 2183) After then, write a test client with 2 important parameters - 1) connect string … Continue reading Building a robust Zookeeper client : connection management
Tag: Ensemble
Building Zookeeper cluster
Zookeeper is a cluster management solution. Therefore, Zookeeper needs to be set up as a cluster. If not, it can be the Single Point of Failure. Zookeeper cluster is called "ensemble". How to set up ensemble (based on v3.4.10) Basic config for a single Zookeeper is as follows. To change it into ensemble, add some … Continue reading Building Zookeeper cluster