转载:https://mp.weixin.qq.com/s/D5lTwdFVtk1mBs63fxVEJw
Sentinel 是由阿里巴巴中间件团队开发的开源项目,是一种面向分布式微服务架
构的轻量级高可用流量控制组件。
如何在你的Windows平台上直接运行该环境?
1、首先就是需要下载需要的jar包,这次的教程是直接下载jar包,可以在多平台上直接运行,本次给大家提供下两个下载的路径:
sentinel 官方下载: :https://github.com/alibaba/Sentinel/releases
sentinel 加速下载:起飞的下载 : https://pan.wxredcover.cn/down.php/05d9dee45152a19dc9bd605299a531b5.jar
java -Dserver.port=8080 -jar sentinel-dashboard-1.8.6.jar
java -Dserver.port=8888 -jar sentinel-dashboard-1.8.6.jar
https://github.com/bangbangzhou/learn_springboot/tree/main/sentinel-study
<!--流控降级管理-->
<dependency>
<groupId>com.alibaba.cloud</groupId>
<artifactId>spring-cloud-starter-alibaba-sentinel</artifactId>
</dependency>
spring:
cloud:
sentinel:
transport:
dashboard: localhost:8080