1 Star 0 Fork 0

风中的思念Y / sca

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.md 1.32 KB
一键复制 编辑 原始数据 按行查看 历史

SpringCloud Alibaba demo

  • Version: boot-2.5.3,cloud-2020.0.3,alibaba-2021.1
  • Gateway:Spring Cloud Gateway
  • Discovery:Alibaba Nacos
  • Config:Alibaba Nacos
  • CircuitBreaker:Alibaba Sentinel
  • RateLimit:Alibaba Sentinel(Dashboard)
  • DistributedTracing:Spring Cloud Sleuth + Zipkin
  • IndicatorMonitor:Spring Boot Actuator + Admin

nacos启动

sentinel启动

  • 启动:java -jar sentinel-dashboard-1.8.2.jar --server.port=8858 --csp.sentinel.dashboard.server=localhost:8858 --project.name=sentinel-dashboard
  • 额外参数:--sentinel.dashboard.auth.username=sentinel 用于指定控制台的登录用户名为 sentinel
    --sentinel.dashboard.auth.password=123456 用于指定控制台的登录密码为 123456;如果省略这两个参数,默认用户和密码均为 sentinel;
    --server.servlet.session.timeout=7200 用于指定 Spring Boot 服务端 session 的过期时间,如 7200 表示 7200 秒;60m 表示 60 分钟,默认为 30 分钟;
  • 控制台:http://localhost:8858/
  • 用户名密码:sentinel/sentinel

zipkin启动

TODO

  • stream + mq
  • security
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/yuanzhy/sca.git
git@gitee.com:yuanzhy/sca.git
yuanzhy
sca
sca
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891