72

构建微服务架构Spring Cloud:服务消费(基础)-扮乖的博客-51CTO博客

 6 years ago
source link: http://blog.51cto.com/13568887/2069335
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
使用LoadBalancerClient在SpringCloudCommons中提供了大量的与服务治理相关的抽象接口,包括DiscoveryClient、这里我们即将介绍的LoadBalancerClient等。对于这些接口的定义我们在上一篇介绍服务注册与发现时已经说过,SpringCloud做这一层抽象,很好的解耦了服务治理体系,使得我们可以轻易的替换不同的服务治理设施。从LoadBalance

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK