Distributed configuration with ZooKeeper, Curator and Spring Cloud Config
May 3, 2015
- Alfredo Díaz
Apache ZooKeeper is a centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services. It is used as a cluster coordination service for demanding systems such as Hadoop, Kafka, Storm, Akka, Neo4j, Talend ESB and so on.
ZooKeeper is a very versatile tool and a perfect partner for a microservice architecture. These are its most common uses:
Spring Cloud ZooKeeper Config has a specific Spring PropertySource that loads transparently the configuration properties from ZooKeeper. It enables me to switch the source of my properties without affecting my application.