We will consider our API as a piece of a puzzle. Let's say it will be one of the services in the microservice architecture. What we want to achieve is to make it possible to easily work in any distributed environment. Spring Cloud builds on Spring Boot and provides sets of libraries that extend the abilities of our application when added to the classpath.
Spring Cloud provides the following features:
- Distributed and versioned configuration: Spring Cloud configuration provides server and client-side support for configuration externalization. We define the configuration server as the central place to manage external properties for applications across all environments.
- Service registration and discovery: We need a way for all of our servers to be able to find each other. Spring Cloud makes this possible and easy to do.
- Routing and filtering:...