<dependency>
<groupId>com.alibaba.csp</groupId>
<artifactId>sentinel-datasource-nacos</artifactId>
</dependency>
[
{
"resource":"/order/flow",
"controlBehavior":0,
"count":10.0,
"grade":1,
"limitApp":"default",
"strategy":0
}
]
server:
port: 8061
spring:
application:
name: order-sentinel
cloud:
sentinel:
transport:
dashboard: 127.0.0.1:8080
web-context-unify: false # 默认请求链路进行收敛
datasource:
flow-rule:
nacos: