piomin / sample-spring-microservices

Many samples in different branches that shows how to create microservices with Spring Boot, Spring Cloud, Zipkin, Zuul, Eureka, Hystrix, Kubernetes, Elastic Stack and many more tools
https://piotrminkowski.wordpress.com/
593 stars 964 forks source link

Question? What is the purpose of enabling Ribbon in all three modules? #5

Open r2d2c3p0 opened 6 years ago

r2d2c3p0 commented 6 years ago

Hi Piotr,

You have ribbon enabled in all three application.yml files, is that required? If Zuul is doing the routing and load balancing why do we need to enable in customer and account services?

Appreciate your help on this.

r2d2c3p0.

ramazansakin commented 4 years ago

Hi @r2d2c3p0 ,

I think this can be your answer:

https://stackoverflow.com/questions/43538030/zuul-and-ribbon-integration#:~:text=Zuul%20is%20a%20client%20for,instances%20are%20servers%20for%20Zuul.&text=RibbonRoutingFilter%20is%20using%20Ribbon%20to,reverse%20proxy%2C%20Zuul%20needs%20Ribbon.

cikoder777 commented 2 years ago

@ramazansakin thnx 👏