# micro **Repository Path**: gitonline1686/micro ## Basic Information - **Project Name**: micro - **Description**: 基于Nacos+Feign+Sentinel+Gateway+Zipkin+Sleuth搭建SpringCloud解决方案 - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-05-30 - **Last Updated**: 2025-06-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 架构方案 JDK 1.8
Spring Boot 2.3.12.RELEASE
Spring Cloud Hoxton.SR12
Spring Cloud Alibaba 2.2.9.RELEASE
Nacos 2.1.0
Sentinel 1.8.5
Seata 1.5.2
## 依赖包 spring-cloud-starter-alibaba-nacos-discovery 注册与发现
spring-cloud-starter-openfeign 远程调用
spring-cloud-starter-loadbalancer 负载均衡
spring-cloud-starter-alibaba-sentinel 限流熔断、流控规则
### 网关 spring-cloud-starter-alibaba-sentinel 限流熔断、流控规则
spring-cloud-alibaba-sentinel-gateway sentinel适配网关
spring-cloud-starter-gateway 网关
### 链路追踪 spring-cloud-starter-sleuth
spring-cloud-starter-zipkin
### seata 分布式事务 spring-cloud-starter-alibaba-seata
# nacos 服务端 nacos下载>>> https://www.nacos.io/download/release-history/?spm=55c5c5db.2ef5001f.0.0.73a53b7ctXvdnK
nacos启动>>> startup.cmd -m standalone
访问地址 http://localhost:8848/nacos
D:\nacos-server-2.1.0\nacos\bin\startup.cmd -m standalone
# sentinel web控制台 java -Dserver.port=8080 -Dauth.username=sentinel -Dauth.password=123456 -jar sentinel-dashboard-1.8.5.jar
访问地址 http://localhost:8080/
# zipkin web控制台 java -jar zipkin-server-2.23.2-exec.jar
访问地址 http://127.0.0.1:9411/
# seata server seata-server.bat 启动
访问地址 http://localhost:7091/
若store.mode=db.需添加seata\script\server\db对应SQL
# 参与基础spring-cloud建设模块 micro-provider
micro-consumer
micro-gateway
micro-tool
micro-common
micro-base