Spring cloud series: 5 Stand alone Eureka registry + cluster Eureka registry

preface Detailed explanation of Eureka 1.1 detailed explanation of Eureka 1 1.2 detailed explanation of Eureka 2Code demo - stand alone Eureka registry ring 2.1 code Demonstration - Eureka service registration 2.2 Eureka's self-protection mechanism (service discovery mechanism for team cooperation))Eureka cluster environment configurationEurek ...

Added by abhi_10_20 on Sat, 15 Jan 2022 08:19:30 +0200

Spring Cloud Alibaba(02) - Nacos service registration and configuration center

Spring Cloud Alibaba(02) - Nacos service registration and configuration center Preface: all microservice modules of Spring Cloud Alibaba series are built under the springcloud Guigu parent project, which is Spring Cloud(02) -- parent project of build order payment micro service module Built in. 1. Introduction to Nacos Nacos is committed ...

Added by Threepwood on Sat, 15 Jan 2022 06:56:25 +0200

The best way to configure WebSocket in spring cloud

prefaceRecently, there is a private message function in the project, which needs to use websocket, so I looked for information on the Internet and summarized some experience in practice to share with you.problemBefore I do this, let me ask you a question:The SpringBoot project integrates webSocket. When the client establishes a connection with ...

Added by mhenke on Fri, 14 Jan 2022 11:53:13 +0200

Feign implements service invocation

I What is Feign Feign is a declarative pseudo Http client provided by Spring Cloud. It makes calling remote services as simple as calling local services. You only need to create an interface and add an annotation. Feign integrates Ribbon by default, so using feign by default under Nacos achieves the effect of load balancing. II Use of Fe ...

Added by warrior rabbit on Fri, 14 Jan 2022 08:27:15 +0200

Construction of spring cloud Basic test environment

1, Basic components Registration Center: EurekaLoad balancing: RibbonDeclarative call to remote method: FeignFusing, degradation and monitoring: HystrixGateway: Zuul 2, Establishment of basic test environment Using RestTemplate to implement remote method calls 1. Structure 2. Specific construction 2.1. Create parent project Pro01 ...

Added by akmalsiddique on Fri, 14 Jan 2022 07:44:55 +0200

SpringCloud_Config configuration center

As shown in the figure, it is divided into client and server 1. Introduction: Spring Cloud Config is a new project created by the Spring Cloud team. It is used to provide centralized external configuration support for infrastructure and micro service applications in distributed systems. It is divided into two parts: server and client. The ...

Added by will83 on Tue, 11 Jan 2022 01:35:43 +0200

Spring cloud Ribbon for service call

Pre content (1),Introduction to microservice theory and take you hand-in-hand to build a microservice environment, pay and write orders (2),Eureka service registration and discovery in spring cloud (3),Spring cloud Zookeeper for service registration and discovery (4),Consul of spring cloud for service registration and discovery 1,Robb ...

Added by smacpettit on Mon, 10 Jan 2022 03:35:45 +0200

Sentinel dashboard Nacos dynamic data source - spring cloud gateway

Friendly tip: to download the source code for transformation, this paper is based on Sentinel-1.8.2. The following contents are extracted from personal technical documents, and relevant materials are mainly from spring cloud Alibaba and GitHub sentinel. The text is part of the excerpts for reference only. 4.1.2. Gateway flow control Gateway ...

Added by JCF22Lyoko on Sun, 09 Jan 2022 10:43:06 +0200

Micrometer + Prometheus monitoring Feign call practice

background Observability is the cornerstone of system architecture, and accurate and detailed measurement is an important decision source for engineers. For the microservice system, in addition to the monitoring indicators of the system boundary layer in the traditional sense, attention should also be paid to the internal invocation of services ...

Added by iversonm on Sun, 09 Jan 2022 09:22:35 +0200

Use of the registry Eureka

1, Introduction to spring cloud euraka Spring Cloud Euraka is a component in the Spring Cloud collection. It is an integration of Euraka for service registration and discovery. Eureka is an open source framework in Netflix. Like Zookeeper and consult, it is used for service registration management. Similarly, Spring Cloud also integrates Zooke ...

Added by dbemowsk on Thu, 06 Jan 2022 13:25:15 +0200