Spring Cloud Zuul
The Spring Cloud Gateway is the natural choice when we adopt the microservices architecture, but nowadays the Spring Cloud Gateway does not have support enabled for service discovery features, such as the Eureka server. It means we will have to configure it route by route. This does not sound good.
We have the Zuul proxy as a gateway for our microservices environment, but keep in mind the Spring Cloud Gateway is the best choice when the project has support for service discovery.
Let's create the Zuul proxy project.
Understanding the EDGE service project
The EDGE service is a service that provides dynamic routing, monitoring, resiliency, and security. The basic idea here is to create a reverse proxy for our microservices.Â
This service will act as a proxy for our microservices and will be exposed as a central access point. The Spring Cloud Zuul integrates with the Eureka server. It will increase our resiliency because we will use the service discovery feature provided by the...