Spring Cloud Gateway

The API Gateway pattern helps us to expose our microservices through a single known entrypoint. Usually, it acts as an entrypoint to external access and redirects the call to internal microservices.

There are many benefits when we adopt the API Gateway in our application. The first one can be recognized easily, it makes the API consumption easy for the clients, which means the clients do not need to know the different microservices endpoints.

Other benefits are a consequence of the first one. When we have a unique entrypoint, we can address some cross-application concerns such as filtering, authentication, throttling, and rate limit, as well.

It is an essential part when we adopt the microservices architecture. 

The Spring ...

Get Spring 5.0 By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.