I am learning how to work with microservices using spring boot and spring cloud. I am having problems choosing the spring cloud and boot versions - I can't use the @RibbonClient
annotation because I have not found the dependency.
I want to use the latest versions of spring cloud and spring boot, but I'm not finding the ribbon dependency. I want to use spring boot 2.4.1 and spring cloud 2.20.0.x.
Spring Cloud Netflix Ribbon has been deprecated and is not included in the 2020.0.0
release train. Spring Cloud LoadBalancer is the suggested alternative. You can read its docs here. You can follow a simple guide here and see a more robust sample here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With