sentinel 整合
一、环境
1、引入依赖
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
</dependency>
2、配置yaml
spring: sentinel: transport: dashboard: localhost:8080 # sentinel board控制台 eager: true # 积极加载
二、资源
1、web接口
2、@SentinelResource
@SentinelResource(value = "createOrder")
3、OpenFeign调用
4、SphU 硬解码
三、sentinel 控制台
下载:sentinel-dashboard-1.8.8.jar
网址:http://localhost:8080/



浙公网安备 33010602011771号