阿里巴巴的使用
- 根目录的resource下
- nacos-server-1.4.0.zip
- springCloud系列
- https://spring.io/projects/spring-cloud
- 网关
- https://spring.io/projects/spring-cloud-gateway
- nacos+gateway 动态网关实现
- 注册中心(单机)
- https://nacos.io/zh-cn/
- 注册中心(集群)
- https://gitee.com/licheng1013/nacos-cluster
- 分布式事务(AT完成)
- 分布式事务(TCC完成)
- 数据库分库分表(完成)
- 消息队列(单机)(完成)
- 消息队列(集群)(完成)
- https://gitee.com/licheng1013/docker-rabbitmq-cluster
- 使用openfeign的接口的启动类上需要加上 @EnableFeignClients 注解
<!--不需要运行但是要被其他项目所依赖的包,需要改成jar包-->
<packaging>jar</packaging>
- common(公共项目)
- gateway(api网关)
- order(示例订单模块)
- user(示例用户模块)
- redis(如果需要使用redis,则在其他模块依赖此模块进去,配置yml即可)