Status Quo
The Spring Cloud Load Balancer currently offers auto-configuration for RestTemplate and WebClient.
I assume the LoadBalancerInterceptor and RetryLoadBalancerInterceptor will work with the new RestClient in the same way as with the RestTemplate. But there currently is no auto-configuration for RestClient available.
Feature Request
Add configuration support with annotations like @LoadBalanced for the RestClient.
Status Quo
The Spring Cloud Load Balancer currently offers auto-configuration for
RestTemplateandWebClient.I assume the
LoadBalancerInterceptorandRetryLoadBalancerInterceptorwill work with the newRestClientin the same way as with theRestTemplate. But there currently is no auto-configuration forRestClientavailable.Feature Request
Add configuration support with annotations like
@LoadBalancedfor theRestClient.