Want to know the behavoir of your app if a Hystrix Circuit is open?
Run your spring cloud app with -Dhystrix.command.<circuitKeyName>.circuitBreaker.forceOpen=true
<circuiktKeyName>
is the name of you hystrix circuit. If you used @HystrixCommand
it is the name of the method. If you used @HystrixCommand(commandKey="mykey")
is is the value of the commandKey
attribute.