Sentinel degrade doesn't work with sentinel-dubbo-adapter 1.8+

ahy6op9u  于 2021-11-29  发布在  Java
关注(0)|答案(5)|浏览(268)

env:
dubbo2.6.2
sentinel-dubbo-adapter1.8
sentinel-datasource-nacos1.8

after i config degrade rules in nacos, degrade doesn't work,while flow rules is fine.
It's fine after i changing two artifacts to 1.7.2

is there something wrong?

mtb9vblg

mtb9vblg1#

Visit http://ip:port/getRules?type=degrage to see if the downgrade rules(config in nacos) is pushed to the application,
and http://ip:port/getRules?type=flow to see the flow rules.

The ip is client application's ip and port is sentinel client port, which can be found in machine list menu in dashboard.

eivgtgni

eivgtgni2#

Circuit breaking rule has been refactored since 1.8.0. You may check the effects of rules in https://github.com/alibaba/Sentinel/wiki/Circuit-Breaking

Besides, you may check the sentinel-record.log to see whether the rules have been loaded.

yxyvkwin

yxyvkwin3#

ok, i 'll try your method. I will report the result later @cdfive

ix0qys7i

ix0qys7i5#

rule is empty,not loaded

相关问题