Consul service registration and discovery of Spring Cloud - 07 (personal note)

1. About Consul Consul It is an open-source distributed service discovery and configuration management system developed by HashiCorp using Go language, which provides the functions of service governance, configuration center, control bus and so on in the micro service system. Each function can be used alone or together to build a comprehensive ...

Posted by Petsmacker on Thu, 16 Sep 2021 03:59:02 +0200

Spring cloud series, service registry Eureka Foundation

1. Registry of microservices The registry can be said to be the "address book" in the micro service architecture. It records the mapping relationship between services and service addresses. In the distributed architecture, all services are registered here. When a service needs to call other services, it can be called by finding t ...

Posted by zamzon on Tue, 14 Sep 2021 07:15:16 +0200

[Feign source code] the class of parsing method -- Contract

This article describes how to map data in a method to request data, such as which are request parameters, which are request bodies, and which are request headers... Interface The function of this interface is to parse the methods in the class. Each method resolves to MethodMetadata. public interface Contract { /** * Contract Provides i ...

Posted by Swede78 on Fri, 10 Sep 2021 12:10:24 +0200

Spring Cloud and microservices

Spring Cloud is one of the projects under spring. It integrates some popular technologies and realizes functions such as configuration management, service discovery, intelligent routing, load balancing, fuse, control bus, cluster status and so on. The main components involved include: Eureka: Registration CenterZuul: service gateway (now c ...

Posted by ss32 on Thu, 09 Sep 2021 20:58:19 +0200