提交 df51c8f2 编写于 作者: zlt2000's avatar zlt2000

注释sentinel动态配置规则,需要用的再自己取消注释

上级 6c472893
spring: #spring:
# sentinel动态配置规则 # sentinel动态配置规则
cloud: # cloud:
sentinel: # sentinel:
zuul: # zuul:
enabled: true # enabled: true
order: # order:
pre: 2000 # pre: 2000
post: 500 # post: 500
error: -100 # error: -100
filter: # filter:
enabled: false # enabled: false
datasource: # datasource:
# 限流 # 限流
ds1: # ds1:
nacos: # nacos:
server-addr: ${zlt.nacos.server-addr} # server-addr: ${zlt.nacos.server-addr}
dataId: ${spring.application.name}-sentinel-gw-flow # dataId: ${spring.application.name}-sentinel-gw-flow
groupId: DEFAULT_GROUP # groupId: DEFAULT_GROUP
rule-type: gw-flow # rule-type: gw-flow
# api分组 # api分组
ds2: # ds2:
nacos: # nacos:
server-addr: ${zlt.nacos.server-addr} # server-addr: ${zlt.nacos.server-addr}
dataId: ${spring.application.name}-sentinel-gw-api-group # dataId: ${spring.application.name}-sentinel-gw-api-group
groupId: DEFAULT_GROUP # groupId: DEFAULT_GROUP
rule-type: gw-api-group # rule-type: gw-api-group
zlt: zlt:
oauth2: oauth2:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册