We created a microservice called ACCOUNT-SERVICE and registered this service with the Eureka discovery service. We also created a consumer of the microservice as a web application, and it registered itself with the Eureka discovery service to consume the accountservice by using its logical service name rather than using a hardcoded hostname and server port.
Netflix's Eureka works as service discovery and client. Spring Cloud provides support to Netflix's Eureka to provide solutions to the cloud-native problems.
Netflix's Ribbon provides client-side load balancing with the Spring's RestTemplate. Spring Cloud promotes service registration and client-side load-balancing features to create a more resilient system.
We have also discussed some parts of the Spring Data project. How Spring creates a repository using interfaces. In this chapter, we have created...