注释sentinel动态配置规则,需要用的再自己取消注释
This commit is contained in:
@@ -1,30 +1,30 @@
|
|||||||
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:
|
||||||
|
|||||||
Reference in New Issue
Block a user