SpringCloud (VIII): pit summary springcloud encounter

First: on service calls and safety fuse:

ribbon and Feign:
1. the equivalent request nigx + doubbe, service calls between micro-services, API gateway forwarding etc.
2. Feign integrated Ribbon and Hystrix

Hystrix:
1. Breaker:
2. Fuse Mode
3. Isolation Mode
4. Mode restrictor
micro service scenario, there is usually many layers of service calls. If a problem occurs underlying service, the fault will be spread up to the user.
When the underlying service is not available, you can block the propagation of the fault.

spring boot version of the speech information:

Article link: https://github.com/spring-projects/spring-boot/releases?after=v2.0.0.M3

 
Spring Cloud startup error - java.lang.NoSuchMethodError: 
Article link:   
https://blog.csdn.net/u010904188/article/details/80885722
 
 spring cloud official website, found Edgware.SR3 version relies on spring boot 1.5.x. It seems that these two versions of the component clashed, so the solution is relatively simple: either downgrade spring boot version or upgrade version of spring cloud. Heart always uphold the idea that "new technologies are always better", so decisively choose to upgrade to the latest version of spring cloud Finchley.

SpringBoot and SpringCloud detailed version corresponds to the version:

Guess you like

Origin www.cnblogs.com/2019lgg/p/11907105.html