整体采用SpringCloud作为底部支撑,采用相对较活跃的组件,其中涉及的有
Nacos-服务注册、发现与配置中心(期间还用了eureka)
SpringcloudGateway-网关
Sentinel+dashboard-熔断降级,也叫断路器,这个是阿里出品的哨兵,一线互联网公司很多在用
Zipkin-链路跟踪
Elasticsearch+kibana-链路跟踪数据持久化以及查询
SpringbootAdmin-整体资源监控
Quartz-定时任务集成
JWT-用户认证,自己实现了一套简单的jwt
各组件版本列表
名称 | 版本 | git/maven | 参考网址 |
SpringBoot | 2.5.1 | ||
SpringCloud | 2020.0.2 | ||
SpringCloudAlibaba | 2021.1 | ||
AlibabaNacos(docker) | 2021.1 | https://github.com/alibaba/nacos | https://nacos.io/ |
SpringcloudGateway | 2.1.3 | https://mvnrepository.com/artifact/org.springframework.cloud/spring-cloud-starter-gateway | |
Sentinel | 2.1.1 | https://github.com/alibaba/Sentinel https://mvnrepository.com/artifact/com.alibaba.cloud/spring-cloud-starter-alibaba-sentinel | |
Zipkin-Slim(docker) | latest | https://github.com/openzipkin/zipkin | |
Elasticsearch(docker) | 6.8.5 | https://github.com/elastic/elasticsearch | |
Elasticsearch-head(node) | |||
kibana(docker) | 6.8.5 | ||
Quartz | 2.1.9 | GitHub - quartz-scheduler/quartz: Code for Quartz Scheduler | |