An example of using Spring cloud gateway
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
bookstore Add header response Jan 14, 2019
discovery Add header response Jan 14, 2019
gateway Update fillBack Controller Jan 14, 2019
hystrix-dashboard
moviestore Add header response Jan 14, 2019
.gitignore
Readme.md
pom.xml Add header response Jan 14, 2019

Readme.md

Spring cloud gateway example

This is a small example using Spring cloud gateway and its features! This example contains:

  • Bookstore microservice: port 8089
  • MoviesStore microservice: port 8090
  • API Gateway (Srpring Cloud gateway): port 8087
  • Service Discovery (Eureka): 8088
  • Hystrix dashboard: port 8099

You'll also need a redis instance running (on port 6379) in order to enable the request limiter of the gateway. The easiest wat is to spin up a redis instance on docker container: docker run --name some-redis -p 6379:6379 -d redis

You can read more about it here: https://aboullaite.me/spring-cloud-gateway/