-
功能:在不引入eureka的情况下,使用feign来进行服务间的调用
-
分为三个模块
- provider:服务提供者,提供一个生成随机数的服务
- api:将服务提供者的接口暴露出来
- consumer:服务消费方,依赖API通过feign调用提供者
-
启动项目并验证
- 将provider进行启动
- 将consumer启动
- 访问http://localhost:8080/consumer/getNum
-
Notifications
You must be signed in to change notification settings - Fork 6
dangnianchuntian/springcloud
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published