tree: a71316a5fbdf9dda98f77d47612d9613738ba1be [path history] [tgz]
  1. dubbo-samples-resilience4j-filter/
  2. dubbo-samples-resilience4j-springboot2/
  3. pom.xml
  4. README.md
dubbo-samples-resilience4j/README.md

dubbo spring hystrix sample

Start Provider

Run AnnotationProvider

Start Consumer

Run AnnotationConsumer

Result

  1. Start provider
  2. Start consumer
  3. The provider print java.lang.RuntimeException: Exception to show hystrix enabled. The exception stack conatins hystrix command info.
  4. The consumer print result :hystrix fallback value, which means hystrix fallback configuration is effect.