Zuul Server
Run this app as a normal Spring Boot app. If you run from this project
it will be on port 8765 (per the application.yml
). Also run eureka and the
stores
and customers
samples from the customer-stores
sample.
You should then be able to view json content from
http://localhost:8765/stores
and http://localhost:8765/customers
which are
configured in application.yml
as proxy routes.
Hystrix Fallback Support
This sample also includes an example of how to configure Hystrix fallbacks for routes in Zuul.
If you hit http://localhost:8765/self/timeout
you can see the fallback functionality in action.