Summary
We learned about the API Gateway pattern for the microservices architecture and also discussed the need for API Gateway for microservices-based applications. API Gateway has several benefits of being used in cloud-based distributed applications. In this chapter, we discussed how to implement the API Gateway proxy service using Spring Cloud's Netflix Zuul API.
We implemented a microservice, Edge Service, to provide a Zuul-based proxy service on top of the internal multiple microservices. The Edge Service can be used for common functionality implementations or cross-cutting concerns.
We also created multiple Zuul filters and registered with the Zuul proxy service.
In the next chapter, we will explore the Feign client in microservices-based ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access