erdengk opened a new pull request #3028:
URL: https://github.com/apache/incubator-shenyu/pull/3028


   part of #2990 supplement
   
   In the previous code, the system can only be blown, but it cannot achieve 
fallback  
   
   
   ```
   2022-03-11 15:21:19 [boundedElastic-1] ERROR 
org.apache.shenyu.plugin.hystrix.HystrixPlugin - hystrix execute have 
circuitBreaker is Open! groupKey:/http,commandKey:/test/waf/pass
   2022-03-11 15:21:19 [boundedElastic-3] ERROR 
org.apache.shenyu.plugin.hystrix.HystrixPlugin - hystrix execute have 
circuitBreaker is Open! groupKey:/http,commandKey:/test/waf/pass
   2022-03-11 15:21:19 [boundedElastic-1] INFO  
org.apache.shenyu.plugin.base.AbstractShenyuPlugin - hystrix selector success 
match , selector name :testHy
   2022-03-11 15:21:19 [boundedElastic-3] INFO  
org.apache.shenyu.plugin.base.AbstractShenyuPlugin - hystrix selector success 
match , selector name :testHy
   2022-03-11 15:21:19 [boundedElastic-1] INFO  
org.apache.shenyu.plugin.base.AbstractShenyuPlugin - hystrix rule success match 
, rule name :hyRules
   2022-03-11 15:21:19 [boundedElastic-3] INFO  
org.apache.shenyu.plugin.base.AbstractShenyuPlugin - hystrix rule success match 
, rule name :hyRules
   ```
   
   After adding the url returned by default, the system can normally prompt the 
url of fuse and failure to return.
   
   ```
   2022-03-11 15:21:19 [boundedElastic-3] ERROR 
org.apache.shenyu.web.fallback.DefaultFallbackController - the default fallback 
for hystrix
   2022-03-11 15:21:19 [boundedElastic-1] ERROR 
org.apache.shenyu.web.fallback.DefaultFallbackController - the default fallback 
for hystrix
   2022-03-11 15:21:19 [boundedElastic-3] ERROR 
org.apache.shenyu.plugin.hystrix.HystrixPlugin - hystrix execute have 
circuitBreaker is Open! groupKey:/http,commandKey:/test/waf/pass
   2022-03-11 15:21:19 [boundedElastic-1] ERROR 
org.apache.shenyu.plugin.hystrix.HystrixPlugin - hystrix execute have 
circuitBreaker is Open! groupKey:/http,commandKey:/test/waf/pass
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to