Spring Cloud(05) -- Feign uses interface to call services

Spring Cloud(05) -- Feign uses interface to call services In the last blog Spring Cloud(04) -- Introduction and use of Ribbon In, we know that in Ribbon, service invocation is realized by Ribbon combined with RestTemplate and specifying service name. This method obviously does not conform to the habit of interface oriented programming in J ...

Added by Koobazaur on Sun, 23 Jan 2022 06:05:12 +0200

Microservice architecture * 2.3 Spring Cloud startup and loading configuration file source code analysis (taking Nacos as an example)

preface reference material: <Spring Microservices in Action> Principles and practice of Spring Cloud Alibaba microservice "Spring cloud framework development tutorial in Silicon Valley of station B" Zhou Yang To realize unified configuration management, Spring Cloud needs to solve two problems: how to obtain remote serve ...

Added by tstout2 on Sat, 22 Jan 2022 15:45:57 +0200

Microservice architecture | 2.2 unified configuration management of Alibaba Nacos

preface reference material: <Spring Microservices in Action> Principle and practice of Spring Cloud Alibaba microservice "Spring cloud framework development tutorial in Silicon Valley of station B" Zhou Yang Nacos official website Nacos is committed to solving the problems of unified configuration, service registration a ...

Added by scottbarry on Fri, 21 Jan 2022 12:16:14 +0200

Unified authentication and authorization of microservices implemented by SpringCloud+SpringBoot+OAuth2+Spring Security+Redis

Because we have a microservice project based on Spring Cloud, we know about OAuth2 and plan to integrate OAuth2 to realize unified authorization. OAuth is an open network standard for authorization. The current version is 2.0. I won't introduce it here. Development environment: Windows10, IntelliJ idea2018 2,   jdk1.8,  redis3. ...

Added by nick314 on Fri, 21 Jan 2022 04:57:20 +0200

SpringCloud Eureka easy to use learning

The following is an excerpt from SpinrgCloud microservice architecture development practice Service governance There are two options for spring cloud service governance, Consul and Neiflix's Eureka.Eureka is an open-source service governance product of Netflix. Spirng Cloud has secondary encapsulated it to form the Spirng Cloud Netflix sub proj ...

Added by ClevaTreva on Thu, 20 Jan 2022 23:27:16 +0200

Microservice architecture * 3.5 source code analysis of Nacos service registration and discovery

preface reference material: <Spring Microservices in Action> Principles and practice of Spring Cloud Alibaba microservice "Spring cloud framework development tutorial in Silicon Valley of station B" Zhou Yang In order to facilitate understanding and expression, the Nacos console and the Nacos registry are called the Naco ...

Added by shaun112 on Thu, 20 Jan 2022 18:46:32 +0200

Spring cloud Lecture 10: gateway spring cloud gateway

The gateway (second generation) of spring cloud ecology will replace Zuul (first generation) in the future. Gateway is built based on Netty (network communication framework, which can realize high-performance server and client), Reactor and WebFlux (Web Framework Based on Reactive) Benefits of spring cloud gateway Strong performance: zuul1 is ...

Added by headbangerbuggy on Thu, 20 Jan 2022 01:15:20 +0200

Spring cloud lecture 07: Http templating client Feign

Feign is a declarative and templated HTTP client developed by Netflix. Feign can help us call microservices more quickly and gracefully. 1, Item code The service consumer content center sends a request to the service provider user center to obtain the user's wechat nickname. We realize this requirement through Feign. 1.1. In POM Adding depen ...

Added by ramesh_iridium on Wed, 19 Jan 2022 18:30:07 +0200

Micro service series: Nacos registry of Spring Cloud Alibaba

Follow the previous article Micro service series: service gateway Spring Cloud Gateway integration Sentinel current limiting - Nuggets (juejin.cn) After completing the basic study of Spring Cloud Gateway, starting from this article, we enter the study of Nacos. Nacos is a dynamic service discovery, configuration management and service manageme ...

Added by manohoo on Wed, 19 Jan 2022 03:13:55 +0200

Microservice link tracking using pinpoint service

Service dependency jdk 1.8hadoop 2.5.1hbase  1.2.6pinpoint 3.3.3Windows 7 system hadoop installation Download Hadoop package http://archive.apache.org/dist/hadoop/core/hadoop-2.5.1/ Download the version 2.5.1 installation package at http://archive.apache.org/dist/hadoop/core/hadoop-2.5.1/. Unzip the Hadoop package and add environment vari ...

Added by NZ_Kiwi on Wed, 19 Jan 2022 02:06:49 +0200