In this project I'm demonstrating you the most interesting features of Spring Cloud Gateway
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
- 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 !