Introduction to Spring Cloud
So far, we have seen how we can use Spring Boot to build microservices with well-documented APIs, along with Spring WebFlux and springdoc-openapi
; persist data in MongoDB and SQL databases using Spring Data for MongoDB and JPA; reactive microservices either as non-blocking APIs using Project Reactor or as event-driven asynchronous services using Spring Cloud Stream with RabbitMQ or Kafka, together with Docker; and manage and test a system landscape consisting of microservices, databases, and messaging systems.
Now, it’s time to see how we can use Spring Cloud to make our services production-ready, that is, scalable, robust, configurable, secure, and resilient.
In this chapter, we will introduce you to how Spring Cloud can be used to implement the following design patterns from Chapter 1, Introduction to Microservices, in the Design patterns for microservices section:
- Service discovery
- Edge server
- Centralized configuration...