Summary

You should now know what a microservice architecture is, as well as its advantages and challenges, and how Spring Cloud solves these microservice challenges by using several Spring Cloud modules, such as Discovery Service and Client-side Load Balancing.

We can now implement a service registry using the Spring Netflix Eureka server and register some Eureka clients with it. We have also implemented several client applications using EurekaClient and Feign client. The Feign client resolves the Discovery Service by using service-name, and it by default provides support for load balancing as well. That means if you are using the Feign client to access the services registered with Eureka, you don't need to add Ribbon explicitly to manage ...

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