Service discovery

The most popular Java client library for Apache Zookeeper is Apache Curator. It provides an API framework and utilities to make using Apache Zookeeper much easier. It also includes recipes for common-use cases and extensions, such as service discovery or Java 8 asynchronous DSL. Spring Cloud Zookeeper leverages one such extension for service discovery implementation. The usage of the Curator library by Spring Cloud Zookeeper is completely transparent for the developer, so I wouldn't like to describe it in more detail here.

Get Mastering Spring Cloud 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.