piomin / sample-spring-cloud-gateway

sample spring cloud application with embedded api gateway on spring cloud gateway with or without service discovery with eureka

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Spring Cloud Gateway Advanced Demo Project Twitter

CircleCI

SonarCloud Bugs Coverage Lines of Code


In this project I'm demonstrating you the most interesting features of Spring Cloud Gateway

Getting Started

Currently you may find here examples of:

  1. 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
  2. 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

  1. To build and run the main application you need to have Maven, JDK11+ and Docker.
  2. To build it run command mvn clean install
  3. 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 !

About

sample spring cloud application with embedded api gateway on spring cloud gateway with or without service discovery with eureka


Languages

Language:Java 100.0%