https://github.com/v5tech/springcloud-alibaba-example
Spring Cloud Alibaba全家桶整合,一路踩坑(基于最新版本)
https://github.com/v5tech/springcloud-alibaba-example
Last synced: 3 days ago
JSON representation
Spring Cloud Alibaba全家桶整合,一路踩坑(基于最新版本)
- Host: GitHub
- URL: https://github.com/v5tech/springcloud-alibaba-example
- Owner: v5tech
- Created: 2020-06-03T10:05:08.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-06-21T03:36:08.000Z (over 3 years ago)
- Last Synced: 2024-10-11T18:02:49.254Z (over 1 year ago)
- Language: Java
- Homepage:
- Size: 42 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# springcloud-alibaba-example
> 实验环境:
>
> Nacos 1.2.1
>
> Seata 1.2.0
>
> Dubbo 2.7.6
>
> seata-spring-boot-starter 1.2.0(务必留意)
>
> Spring Boot 2.2.5.RELEASE
>
> Spring Cloud Alibaba 2.2.1.RELEASE
>
> Spring Cloud Hoxton.SR4
>
操作步骤:
1、执行`docker`目录中定义的`docker-compose.yaml`。务必按`README.md`中的要求执行
2、依次按序启动samples-storage-service、samples-account-service、samples-order-service、samples-business-service
3、浏览器访问测试
* Dubbo方式调用
http://localhost:8104/buy
* RestTemplate方式调用
http://localhost:8104/rest
* FeignClient方式调用
http://localhost:8104/feign
* FeignClient方式调用(Dubbo协议)
http://localhost:8104/dubbofeign