Spring Cloud Skill Tree#
spring-cloud#
Eureka#
Used for service registration and discovery
- server: the server-side, used to register other services
- client: various services
- consumer: a type of client that is requested and obtains data from other services through the server
- ...
Feign#
Used to request data from other services, provides annotations and interface-based coding for restful
requests, simplifying development, and comes with Ribbon
- Ribbon: used for requesting and load balancing
- Restful Request:
restful
request - LoadBalanced: load balancing, selects one from multiple client services
- Hystrix: circuit breaker, prevents line blocking when the client is unavailable
Zuul#
The main functions are routing and filtering. It combines with Ribbon to achieve load balancing.
Currently not supported in spring boot 2.1.0
[20181109]
This functionality will be replaced by SpringCloud Gateway in the future.