https://cloud.spring.io/spring-cloud-netflix/multi/multi_spring-cloud-ribbon.html
https://cloud.spring.io/spring-cloud-netflix/1.0.x/
https://stackoverflow.com/questions/39587317/difference-between-ribbonclient-and-loadbalanced
https://www.baeldung.com/spring-cloud-rest-client-with-netflix-ribbon
https://howtodoinjava.com/spring-cloud/spring-boot-ribbon-eureka/#ribbon
https://dzone.com/articles/using-new-spring-cloud-load-balancer-in-microservi
@EnableEurekaClient
@EnableDiscoveryClient
@RibbonClient(name="")
https://piotrminkowski.com/2020/05/13/a-deep-dive-into-spring-cloud-load-balancer/
A New Era of Spring Cloud. While almost all of Spring Cloud Netflix components will be removed in the next release, it seems that the biggest change is a replacement of Ribbon client into Spring Cloud Load Balancer.
---------------------------------------------------------------------------------------------------
https://www.baeldung.com/spring-component-scanning
@ComponentScan Without Arguments
@ComponentScan without arguments tells Spring to scan the current package and all of its sub-packages.
The trick with Spring Boot is that many things happen implicitly.
We use the @SpringBootApplication annotation, but it's just a combination of three annotations:
Using @ComponentScan in a Spring Boot Application.
@Configuration
@EnableAutoConfiguration
@ComponentScan
@ComponentScan(basePackages = "com.baeldung.componentscan.springapp.animals")
No comments:
Post a Comment