You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These configurers enable CircuitBreaker support for https://docs.spring.io/spring-framework/reference/7.0-SNAPSHOT/integration/rest-clients.html#rest-http-interface-group-config[Spring Interface Client Groups].
115
+
These configurers enable CircuitBreaker support for https://docs.spring.io/spring-framework/reference/7.0-SNAPSHOT/integration/rest-clients.html#rest-http-service-client-group-config[Spring HTTP Service Client Groups].
116
116
117
117
When fallback classes are configured using the `@HttpServiceFallbackAnnotation`,
Copy file name to clipboardExpand all lines: docs/modules/ROOT/pages/spring-cloud-commons/loadbalancer.adoc
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -592,17 +592,17 @@ NOTE: Starting with `4.1.0`, we have introduced the `callGetWithRequestOnDelegat
592
592
593
593
Since `4.0.0`, Spring Cloud LoadBalancer supports Spring AOT transformations and native images. However, to use this feature, you need to explicitly define your `LoadBalancerClient` service IDs. You can do so by using the `value` or `name` attributes of the `@LoadBalancerClient` annotation or as values of the `spring.cloud.loadbalancer.eager-load.clients` property.
594
594
595
-
== LoadBalancer Integration for Spring Interface Clients AutoConfiguration
595
+
== LoadBalancer Integration for Spring HTTP Service Clients AutoConfiguration
596
596
597
-
Since `5.0.0`, Spring Cloud LoadBalancer supports https://docs.spring.io/spring-framework/reference/7.0-SNAPSHOT/integration/rest-clients.html#rest-http-interface[Spring Interface Clients] AutoConfiguration through the `LoadBalancerRestClientHttpServiceGroupConfigurer` and `LoadBalancerWebClientHttpServiceGroupConfigurer`.
597
+
Since `5.0.0`, Spring Cloud LoadBalancer supports https://docs.spring.io/spring-framework/reference/7.0-SNAPSHOT/integration/rest-clients.html#rest-http-service-client[Spring HTTP Service Clients] AutoConfiguration through the `LoadBalancerRestClientHttpServiceGroupConfigurer` and `LoadBalancerWebClientHttpServiceGroupConfigurer`.
598
598
599
-
For each Interface Client group, if the group `baseUrl` (defined under the
600
-
`spring.http.client.service.group.[groupName].base-url` property) is `null`, a `serviceId`-based URL for load-balancing is set up as the `baseUrl`, with `serviceId` resolved from the Interface Client `groupName`.
599
+
For each HTTP Service Client group, if the group `baseUrl` (defined under the
600
+
`spring.http.client.service.group.[groupName].base-url` property) is `null`, a `serviceId`-based URL for load-balancing is set up as the `baseUrl`, with `serviceId` resolved from the HTTP Service Client `groupName`.
601
601
602
602
If the group `baseUrl` is `null` or its scheme is set to `lb`, a
603
603
`DeferringLoadBalancerInterceptor` instance is picked from the application context for blocking scenarios, and a `DeferringLoadBalancerExchangeFilterFunction` instance for reactive scenarios, and is added to the group's `RestClient.Builder` or `WebClient.Builder` if available, allowing for the requests to be load-balanced.
604
604
605
-
For example, in an app with the following Interface Clients configuration:
605
+
For example, in an app with the following HTTP Service Clients configuration:
Copy file name to clipboardExpand all lines: spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/LoadBalancerRestClientHttpServiceGroupConfigurer.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -33,7 +33,7 @@
33
33
/**
34
34
* Load-balancer-specific {@link RestClientHttpServiceGroupConfigurer} implementation. If
35
35
* the group {@code baseUrl} is {@code null}, sets up a {@code baseUrl} with LoadBalancer
36
-
* {@code serviceId} -resolved from Interface Client {@code groupName} set as
36
+
* {@code serviceId} -resolved from HTTP Service Client {@code groupName} set as
37
37
* {@code host}. If the group {@code baseUrl} is {@code null} or has {@code lb} set as its
38
38
* scheme, a {@link DeferringLoadBalancerInterceptor} instance picked from application
39
39
* context is added to the group's {@link RestClient.Builder} if available, allowing for
Copy file name to clipboardExpand all lines: spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/reactive/LoadBalancerWebClientHttpServiceGroupConfigurer.java
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@
32
32
/**
33
33
* Load-balancer-specific {@link WebClientHttpServiceGroupConfigurer} implementation. If
34
34
* the group {@code baseUrl} is {@code null}, sets up a {@code baseUrl} with LoadBalancer
35
-
* {@code serviceId} -resolved from Interface Client {@code groupName} set as
35
+
* {@code serviceId} -resolved from HTTP Service Client {@code groupName} set as
36
36
* {@code host}. If the group {@code baseUrl} is {@code null} or has {@code lb} set as its
37
37
* scheme, a {@link DeferringLoadBalancerExchangeFilterFunction} instance picked from
38
38
* application context is added to the group's {@link WebClient.Builder} if available,
0 commit comments