Comments on: Using Spring Cloud Load Balancer In Microservices Communication https://piotrminkowski.com/2019/10/11/using-new-spring-cloud-load-balancer-in-microservices-communication/ Java, Spring, Kotlin, microservices, Kubernetes, containers Thu, 03 Dec 2020 21:53:01 +0000 hourly 1 https://wordpress.org/?v=6.9.1 By: piotr.minkowski https://piotrminkowski.com/2019/10/11/using-new-spring-cloud-load-balancer-in-microservices-communication/#comment-946 Thu, 03 Dec 2020 21:53:01 +0000 https://piotrminkowski.wordpress.com/?p=7324#comment-946 In reply to srijini.

Hi, is it still occurs?

]]>
By: srijini https://piotrminkowski.com/2019/10/11/using-new-spring-cloud-load-balancer-in-microservices-communication/#comment-699 Mon, 27 Jul 2020 11:34:33 +0000 https://piotrminkowski.wordpress.com/?p=7324#comment-699 Hi, thanks for ur article. now im experimenting spring cloud gateway load balancer.. i used the caller microservice. and i gave 8500 as port. but im getting error :
org.apache.http.conn.HttpHostConnectException: Connect to MY-IP:8500 [/MY-IP] failed: Connection refused (Connection refused)
Also i’m trying to integrate with Eureka server.

]]>
By: Ivan Markov https://piotrminkowski.com/2019/10/11/using-new-spring-cloud-load-balancer-in-microservices-communication/#comment-698 Thu, 21 May 2020 11:55:42 +0000 https://piotrminkowski.wordpress.com/?p=7324#comment-698 In reply to Piotr Mińkowski.

I will look at those, thanks!

]]>
By: Piotr Mińkowski https://piotrminkowski.com/2019/10/11/using-new-spring-cloud-load-balancer-in-microservices-communication/#comment-697 Thu, 21 May 2020 11:43:30 +0000 https://piotrminkowski.wordpress.com/?p=7324#comment-697 In reply to Ivan Markov.

Hi Ivan. If you are looking for some articles about Spring Cloud LoadBalancer and RestTemplate you can refer to my newest article https://piotrminkowski.com/2020/05/13/a-deep-dive-into-spring-cloud-load-balancer/. You will find there a custom implementation of static list supplier – something what you were asking for. You can also take a look on my video course: https://youtu.be/EJUtU_VGpuk.

]]>
By: Ivan Markov https://piotrminkowski.com/2019/10/11/using-new-spring-cloud-load-balancer-in-microservices-communication/#comment-696 Thu, 21 May 2020 10:28:01 +0000 https://piotrminkowski.wordpress.com/?p=7324#comment-696 Hi Piotr!, thanks for the article! I agree its a pity there is such a little documentation and working examples of the new Spring Cloud stack. I am now struggling to understand how can I configure the new Spring Cloud LoadBalancer with RestTemplate. Previously with Ribbon it was pretty much easy. Now the only tutorials I find are using Flux and Project Reactor for microservice communication. As of my project’s specification, I can’t use Consul or Eureka, so I would like to setup a static list of servers just like it was able using Ribbon. What is your opinion on this? Thanks!

]]>
By: Piotr Mińkowski https://piotrminkowski.com/2019/10/11/using-new-spring-cloud-load-balancer-in-microservices-communication/#comment-695 Tue, 28 Apr 2020 22:00:30 +0000 https://piotrminkowski.wordpress.com/?p=7324#comment-695 In reply to Daniel Lopez.

Hi. I didn’t try Fabio…

]]>
By: Daniel Lopez https://piotrminkowski.com/2019/10/11/using-new-spring-cloud-load-balancer-in-microservices-communication/#comment-694 Wed, 22 Apr 2020 22:13:04 +0000 https://piotrminkowski.wordpress.com/?p=7324#comment-694 Very interesting. We are currently using a balancer (Fabio) instead of a client-balanced strategy like this one. Have you tried both? Any reasons to prefer this one?
Thanks

]]>
By: Piotr Mińkowski https://piotrminkowski.com/2019/10/11/using-new-spring-cloud-load-balancer-in-microservices-communication/#comment-693 Wed, 11 Dec 2019 20:03:57 +0000 https://piotrminkowski.wordpress.com/?p=7324#comment-693 In reply to Andrea Cavalieri.

Thanks. I don’t think they included support to new Spring Cloud Load Balancer since Zuul has been moved to the maintainance mode. For the details you may refer to my article https://piotrminkowski.com/2019/04/05/the-future-of-spring-cloud-microservices-after-netflix-era/

]]>
By: Andrea Cavalieri https://piotrminkowski.com/2019/10/11/using-new-spring-cloud-load-balancer-in-microservices-communication/#comment-692 Wed, 11 Dec 2019 15:33:32 +0000 https://piotrminkowski.wordpress.com/?p=7324#comment-692 Nice article Piotr.
I am currently working on a spring boot project using spring cloud zuul (not nee cloud gateway) and I wonder if it is possible to integrate new spring cloud load balancer (instead of ribbon).
Thanks

]]>
By: Piotr Mińkowski https://piotrminkowski.com/2019/10/11/using-new-spring-cloud-load-balancer-in-microservices-communication/#comment-691 Tue, 12 Nov 2019 21:33:45 +0000 https://piotrminkowski.wordpress.com/?p=7324#comment-691 In reply to Subramanian.

Yes, it is. Currently they fixed some problems and for example with Hoxton.RC1 release train spring cloud gateway and consul works fine. I have also updated version of release train in my repository.

]]>