sentinel配置
1.引入jar
<!--sentinel依赖-->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
</dependency>
2.配置文件
sentinel:
transpost:
dashboard: localhost:8080
3.官网下载sentinel 包使用java -jar命令启动,通过配置启动参数来修改端口号等

浙公网安备 33010602011771号