circuit breaker poc
The story of Echo and Narcissus can be found here.
Demo
- start Echo and Narcissus
- send a request to the Echo's http://localhost:8080/echo endpoint. It should print
Narcissus is responding
- stop Narcissus.
- refresh the page. It should print a different message:
Narcissus is not responding me, I think I'm gonna die.
you can also see the status of the circuit breaker from the http://localhost:8080/actuator/health address