Spring Cloud Hoxton: New Load Balancer, Circuit Breaker & Reactive Support
The article reviews the Spring Cloud Hoxton release, detailing version upgrades across the Spring ecosystem, introducing a new load‑balancer implementation, a unified circuit‑breaker API, expanded reactive support, and a comprehensive list of updated components for developers transitioning to Spring Boot 2.2.x.
About a month and a half after the release of Spring Boot 2.2.0, the matching Spring Cloud version was not yet available, causing many users to encounter compatibility issues between Spring Boot and Spring Cloud.
When rebuilding or learning a system, developers often choose the latest versions, but with the Spring ecosystem this is not always optimal because the projects have inter‑dependencies, especially during major version upgrades. The recent upgrades of Spring Framework 5.2, Spring Boot 2.2, and Spring Cloud Hoxton constitute a comprehensive version jump.
Spring Boot 2.2 is built on Spring Framework 5.2, and Spring Cloud Hoxton is built on Spring Boot 2.2. Before the official Hoxton release, many users experienced problems using Spring Boot 2.2 with the older Spring Cloud Greenwich version.
With the official release of Spring Cloud Hoxton, users can now start upgrading their applications to Spring Boot 2.2.x.
Spring Cloud Hoxton Version Contents
The following components have been upgraded in the Hoxton release:
Spring Cloud Aws 2.2.0.RELEASE
Spring Cloud Vault 2.2.0.RELEASE
Spring Cloud Circuitbreaker 1.0.0.RELEASE
Spring Cloud Cli 2.2.0.RELEASE
Spring Cloud Gateway 2.2.0.RELEASE
Spring Cloud Zookeeper 2.2.0.RELEASE
Spring Cloud Starter Hoxton.RELEASE
Spring Cloud Build 2.2.0.RELEASE
Spring Cloud Config 2.2.0.RELEASE
Spring Cloud Dependencies Parent 2.2.0.RELEASE
Spring Cloud Starter Parent Hoxton.RELEASE
Spring Cloud Sleuth 2.2.0.RELEASE
Spring Cloud Contract 2.2.0.RELEASE
Spring Cloud Gcp 1.2.0.RELEASE
Spring Cloud Bus 2.2.0.RELEASE
Spring Cloud Consul 2.2.0.RELEASE
Spring Cloud Stream Horsham.RELEASE
Spring Cloud Kubernetes 1.1.0.RELEASE
Spring Cloud Openfeign 2.2.0.RELEASE
Spring Cloud Commons 2.2.0.RELEASE
Spring Cloud Dependencies Hoxton.RELEASE
Spring Cloud Task 2.2.0.RC1
Spring Cloud Function 3.0.0.RELEASE
Spring Cloud Hoxton.RELEASE
Spring Cloud Netflix 2.2.0.RELEASE
Spring Cloud Security 2.2.0.RELEASE
Spring Cloud Release Hoxton.RELEASE
Spring Cloud Cloudfoundry 2.2.0.RELEASE
Key points worth noting:
New Load Balancer Implementation
Spring Cloud Hoxton introduces a load balancer that supports both blocking and non‑blocking modes, replacing the now‑maintained Netflix Ribbon.
By adding the dependency org.springframework.cloud:spring-cloud-loadbalancer, developers can use BlockingLoadBalancerClient together with RestTemplate. The same dependency also enables reactive applications; simply annotate WebClient.Builder with @LoadBalanced to activate the new load balancer.
New Circuit Breaker Implementation
The release defines a unified circuit‑breaker API and integrates several implementations, including Resilience4j, Spring Retry, Hystrix (spring-cloud-netflix), and Sentinel (spring-cloud-alibaba).
More Reactive Support
Spring Cloud Gateway now includes ReactiveLoadBalancer.
ReactiveDiscoveryClient implementations have been added to Spring Cloud Netflix, Consul, Zookeeper, OpenFeign, Cloudfoundry, and Kubernetes.
Signed-in readers can open the original source through BestHub's protected redirect.
This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactand we will review it promptly.
Programmer DD
A tinkering programmer and author of "Spring Cloud Microservices in Action"
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.
