1.RestTemplate在使用@LoadBalanced后
2.feignClient
LB实现 | LB接口 | LB接口方法 |
LoadBalancerFeignClient | feign.Client | Response execute(Request request, Options options) |
FeignBlockingLoadBalancerClient | feign.Client | Response execute(Request request, Options options) |
RibbonLoadBalancerClient | LoadBalancerClient | T execute(String serviceId, ServiceInstance serviceInstance, LoadBalancerRequest<T> request) |
BlockingLoadBalancerClient | LoadBalancerClient | T execute(String serviceId, ServiceInstance serviceInstance, LoadBalancerRequest<T> request) |