提交 8ba53cb6 编写于 作者: H haoxr

feat:整合Sentinel熔断降级

上级 48ecde6c
......@@ -26,3 +26,11 @@ spring:
groupId: SENTINEL_GROUP
data-type: json
rule-type: flow
# 限流规则,flow为key,随便定义
degrade:
nacos:
server-addr: ${spring.cloud.nacos.discovery.server-addr}
dataId: ${spring.application.name}-flow-rules
groupId: SENTINEL_GROUP
data-type: json
rule-type: degrade
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册