#端口号 server: port: 8088 #spring配置 spring: application: name: nacos-server-sentinel-consumer profiles: active: dev cloud: nacos: discovery: server-addr: http://120.79.36.53:8848 #服务注册地址 config: server-addr: http://120.79.36.53:8848 #配置中心地址 file-extension: yaml #文件类型 group: DEV_GROUP #组别 namespace: 4cd9bd32-8f25-45cd-b919-df1a0df146e0 #命名空间 refresh-enabled: true #默认自动刷新 sentinel: transport: dashboard: 127.0.0.1:8181 port: 8719 #默认端口,如果被占用则从8719依次+1扫描 datasource: ds1: nacos: server-addr: http://120.79.36.53:8848 username: nacos password: nacos dataId: nacos-server-sentinel-consumer # 微服务名称 groupId: DEFAULT_GROUP data-type: json rule-type: flow # 流控规则