concept Spring Cloud Gateway in category spring

This is an excerpt from Manning's book Spring Microservices in Action, 2E MEAP V07.
In this book, I’m going to use the Spring Cloud Gateway that was built with Spring Framework 5, Project Reactor (allowing integration with Spring Web Flux) and Spring Boot 2 to have better integration with our Spring projects.
It's important to highlight that the Spring Cloud Gateway is another API Gateway such as Netflix Zuul. In this book, I chose to explain the Spring Cloud Gateway, because now a day is the preferred API gateway implementation from the Spring Cloud team. This implementation is built on Spring 5 and is a non-blocking gateway that integrates much easier with the other Spring cloud projects we are going to be using throughout the boot.
Figure 8.5 The Spring Cloud Gateway will use the organization-service application name to map requests to organization service instances.
![]()
The beauty of using Spring Cloud Gateway with Eureka is that not only do we now have a single endpoint that we can make calls through but with Eureka, we can also add and remove instances of service without ever having to modify the gateway. For instance, we can add a new service to Eureka, and the gateway will automatically route to it because it’s communicating with Eureka about where the actual physical services endpoints are located.