Service discovery
Service Discovery Servers allow us to dynamically register the instances of our microservices. Having a dynamic list of instances could be used either by applications or other microservices when they need to perform a request. They help us to dynamically manage when instances are starting or stopping to give an accurate view on the scaling of our microservices. Finally, they provide a mechanism to disconnect instances where they are not available using a Heart-beat mechanism.
Spring Cloud provides a vendor-independent approach to Service Discovery. We can use a range of different implementations, such as Hashicorp Consul, Netflix Eureka, or Apache Zookeeper. In this section, we will learn how easily we can integrate with ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access