# springCloud
**Repository Path**: LeftJson/springCloud
## Basic Information
- **Project Name**: springCloud
- **Description**: SpringCloud系列Demo代码
- **Primary Language**: Java
- **License**: MIT
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 47
- **Created**: 2020-07-29
- **Last Updated**: 2020-12-19
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
## 简介
SpringCloud系列Demo代码
SpringCloud的Demo代码包括了一下分布式的基本组件,具体请看博客、代码
父项目是一个maven项目,继承spring-boot-starter-parent,引入spring-cloud依赖管理,同时引入了部分公用依赖
```xml
org.springframework.boot
spring-boot-starter-parent
2.1.0.RELEASE
org.springframework.cloud
spring-cloud-dependencies
Greenwich.RC1
pom
import
org.springframework.cloud
spring-cloud-dependencies
Greenwich.RC1
pom
import
org.springframework.boot
spring-boot-starter
org.springframework.boot
spring-boot-starter-web
org.springframework.boot
spring-boot-starter-test
test
org.springframework.boot
spring-boot-starter-actuator
org.projectlombok
lombok
org.springframework.boot
spring-boot-devtools
true
runtime
spring-milestones
Spring Milestones
https://repo.spring.io/milestone
```
每个子项目都是一个独立的SpringBoot项目,子项目直接继承父类
```xml
cn.huanzi.qch
parent
1.0.0
```
每个子项目都是SpringCloud的一个知识点或者说技能点,具体见名思意!具体介绍都有对应的博客,详情请看下方的“前往博客查看详情”
SpringCloud代码跟之前写博客时有所改动,现在的项目命名更加规范,比较利于理解
改动后测试例子:
PS:由于图片是引入我博客里面的图片,有时会出现显示不出来的问题,可以直接前往[博客](https://www.cnblogs.com/huanzi-qch/p/11159140.html)-->点击目录:SpringCloud系列,即可查看效果图
eureka注册

sso单点登录

令牌桶限流

feign调用

ribbon负载均衡

txlcn分布式事务
事务回滚

 
事务提交

 
## 仓库地址
国外:https://github.com/huanzi-qch/springCloud
国内:https://gitee.com/huanzi-qch/springCloud
## 前往博客查看详情
具体介绍请看我的博客[《SpringCloud系列》](https://www.cnblogs.com/huanzi-qch/category/1364332.html)
| 项目 | 博客 |
| ---- | ---- |
| config-server | [SpringCloud系列——Config 配置中心](https://www.cnblogs.com/huanzi-qch/p/10149547.html)
[SpringCloud系列——Bus 消息总线](https://www.cnblogs.com/huanzi-qch/p/10155091.html) |
| eureka-server | [SpringCloud系列——Eureka 服务注册与发现](https://www.cnblogs.com/huanzi-qch/p/10131985.html) |
| sso-server | [SpringCloud系列——SSO 单点登录](https://www.cnblogs.com/huanzi-qch/p/10249227.html) |
| txlcn-tm | [SpringCloud系列——TX-LCN分布式事务管理](https://www.cnblogs.com/huanzi-qch/p/11057974.html) |
| zuul-server | [SpringCloud系列——Zuul 动态路由](https://www.cnblogs.com/huanzi-qch/p/10142395.html) |
| server-a
server-b1/b2
server-c | [SpringCloud系列——Feign 服务调用](https://www.cnblogs.com/huanzi-qch/p/10135946.html) |
| server-b1/b2 | [SpringCloud系列——Ribbon 负载均衡](https://www.cnblogs.com/huanzi-qch/p/10136254.html) |
## QQ群
有事请加群,有问题进群大家一起交流!
QQ群名:Java交流群-huanzi-qch
QQ群号:1015379123

注:如果图片加载不出来请点击查看[这里](http://huanzi-qch.gitee.io/file-server/images/qq.png)
## 捐献
请注意,作者五行缺钱,如果喜欢这个项目,请随意打赏!
支付宝

注:如果图片加载不出来请点击查看[这里](http://huanzi-qch.gitee.io/file-server/images/zhifubao.png)
微信

注:如果图片加载不出来请点击查看[这里](http://huanzi-qch.gitee.io/file-server/images/weixin.png)
## 学习资料
Spring全家桶的GitHub:https://github.com/spring-projects
SpringCloud官方文档:https://spring.io/projects/spring-cloud
SpringCloud官方GitHub:https://github.com/spring-cloud
这些资料有丰富的文档介绍、代码示例