sample-spring-cloud-gateway
sample-spring-cloud-gateway copied to clipboard
sample spring cloud application with embedded api gateway on spring cloud gateway with or without service discovery with eureka
Spring Cloud Gateway Advanced Demo Project ![Twitter](https://img.shields.io/twitter/follow/piotr_minkowski.svg?style=social&logo=twitter&label=Follow%20Me)
In this project I'm demonstrating you the most interesting features of Spring Cloud Gateway
Getting Started
Currently you may find here examples of:
- Redis-based Request Rate Limiter - the detailed description may be found in the article on my blog Rate Limiting In Spring Cloud Gateway With Redis
- Circuit Breaker and Fallback with resilience4j - the detailed description may be found in the article on my blog Circuit Breaking In Spring Cloud Gateway With Resilience4J
Usage
- To build and run the main application you need to have Maven, JDK11+ and Docker.
- To build it run command
mvn clean install
- During Maven build the JUnit integration tests are running. They are using Testcontainers for mocking downstream service and third-party tools like Redis.
Feel free to propose your examples or suggestions !