Merge remote-tracking branch 'origin/3.1.x'
This commit is contained in:
@@ -94,6 +94,9 @@ public class BlockingLoadBalancerClient implements LoadBalancerClient {
|
||||
@Override
|
||||
public <T> T execute(String serviceId, ServiceInstance serviceInstance, LoadBalancerRequest<T> request)
|
||||
throws IOException {
|
||||
if (serviceInstance == null) {
|
||||
throw new IllegalArgumentException("Service Instance cannot be null");
|
||||
}
|
||||
DefaultResponse defaultResponse = new DefaultResponse(serviceInstance);
|
||||
Set<LoadBalancerLifecycle> supportedLifecycleProcessors = getSupportedLifecycleProcessors(serviceId);
|
||||
Request lbRequest = request instanceof Request ? (Request) request : new DefaultRequest<>();
|
||||
|
||||
@@ -38,6 +38,12 @@
|
||||
"name": "spring.cloud.loadbalancer.eager-load.clients",
|
||||
"description": "Names of the clients.",
|
||||
"type": "java.util.List"
|
||||
},
|
||||
{
|
||||
"defaultValue": "false",
|
||||
"name": "spring.cloud.loadbalancer.stats.micrometer.enabled",
|
||||
"description": "Enables Spring Cloud LoadBalancer Micrometer stats.",
|
||||
"type": "java.lang.Boolean"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user