简体   繁体   中英

Can we implement client side load balancing with Ribbon with Spring boot 2.5.2?

we are trying to upgrade our code from spring boot 1.x to spring boot 2.5.2 and we were taking advantage of ribbon for client side load balancing with older version of spring boot (1.x).

Now, when I'm referring to the spring cloud netflix documentation, they are still referring to 'ribbon' for client side load balancing here

https://spring.io/projects/spring-cloud-netflix#overview .

But, some other place, spring documentation says, they dropped support for netflix ribbon in recent spring boot and i see the spring boot cloud starter is not pulling the ribbon dependencies when i switch to spring boot 2.5.2

Now, my question is, if i upgrade my Spring boot version from 1.x to 2.5.2 and add the netflix ribbon dependencies ( explicitly) can i still take advantage of ribbon for client side load balancing ?

All i'm trying to understand is, would spring boot 2.5.2 work with netflix ribbon (if i add the netflix ribbon dependencies by myself) ?

Spring Cloud Netflix Ribbon is no longer supported. We suggest using Spring Cloud LoadBalancer as a replacement. You can find the documentation here and a guide here . We suggest using start.spring.io to find out the versions of Spring Cloud compatible with the supported versions of Spring Boot.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM