Setting up Zookeeper using Docker
In Chapter 3 , Deploying Microservices on Mesos, we learned a little bit about Zookeeper. To keep it very simple, Zookeeper is a cluster-management tool that is mainly used for storing your cluster configurations. Zookeeper is used by several Apache big data projects such as Mesos, Kafka, and Bookkeeper. In this chapter, we will see how we can use Zookeeper to store our microservice configurations and later use them to perform load-balancing. This recipe will show you how to start Zookeeper and Exhibitor using Docker. Exhibitor is a management interface for Zookeeper. In addition to providing a web interface to manage Zookeeper, it also performs log file cleanups and backups. We will be using the Exhibitor web ...
Get Microservices Deployment Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.