sentinel规则持久化

spring:
  cloud:
    nacos:
      discovery:
        server-addr: open.nacos.yuqiyu.com:80
    sentinel:
      transport:
        dashboard: localhost:8080
        port: 8719
      # 流控规则持久化到nacos
      datasource:
        dsl:
          nacos:
            server-addr: localhost:8848
            data-id: ${spring.application.name}
            group-id: DEFAULT_GROUP
            data-type: json
            rule-type: flow

nacos新建配置列表

sentinel规则持久化_第1张图片

sentinel规则持久化_第2张图片sentinel规则持久化_第3张图片

你可能感兴趣的:(sentinel规则持久化)