Fix the problem that WebClient calls cannot be tracked through Skywalking in the Spring Cloud Gateway project

Solve the problem that WebClient calls cannot be tracked in the Spring Cloud Gateway projectProblem descriptionSkywalking brings non intrusive distributed link collection to java applications through java agent. In the microservice architecture, as a business Gateway, Spring Cloud Gateway generally needs to customize the Filter and call other ...

Added by Maknis on Sat, 05 Mar 2022 11:40:11 +0200

Spring WebFlux framework - WebFlux configuration

Next blog: https://blog.csdn.net/qq_43605444/article/details/122420890?spm=1001.2014.3001.5502 11. WebFlux configuration The WebFlux Java configuration declares the components required to process requests using annotated controllers or functional endpoints, and provides an API to customize the configuration. This means that you do not need to ...

Added by riginosz on Mon, 10 Jan 2022 17:43:42 +0200

Another way to write Spring MVC interface

1. Preface In general, the paradigm for writing Spring MVC interface is as follows: @RestController @RequestMapping("/v1/userinfo") public class UserInfoController { @GetMapping("/foo") public String foo() { return "felord.cn"; } } Today, I'm going to use the new Functional Endpoints introduced by Spring 5 to play. Sp ...

Added by mynameisbob on Fri, 15 May 2020 07:48:02 +0300

How to check the parameters of webplus

order This paper mainly studies how to verify the parameters of webplus Using javax.validation domain import javax.validation.constraints.Min; import javax.validation.constraints.NotEmpty; public class User { @Min(1) private long id; @NotEmpty private String name; @Min(20) private int age; //... } Handling e ...

Added by koolswans on Sun, 05 Apr 2020 13:39:34 +0300

On skywalking's spring web plus plugin

This article refers to the original- http://bjbsair.com/2020-03-22/tech-info/5100/order This paper mainly studies the spring web plus plugin of skywalking DispatcherHandlerInstrumentation skywalking-6.6.0/apm-sniffer/optional-plugins/optional-spring-plugins/spring-webflux-5.x-plugin/src/main/java/org/apache/skywalking/apm/plugin/spring/webflu ...

Added by litarena on Tue, 24 Mar 2020 16:59:12 +0200

Weblux user management interface

A simple CRUD for user management has been completed. Now we need to show it on the page to facilitate user management. Although it is now popular to separate the development before and after, but in some small companies do not need front-end developers, the page is also the back-end development in writing. So this time we use thmeleaf to devel ...

Added by elflacodepr on Thu, 14 Nov 2019 18:19:35 +0200

Thinking and comparison in the application of Spring WebFlux

This paper is based on Spring Cloud Finchley SR4 Through several questions, this paper analyzes the best practice of Spring WebFlux usage and compares it with another framework Vertx 1. Whether you must use the default web container, whether you can use your own web container, and whether you can have web and webplus at the same time Yes, thi ...

Added by cedtech23 on Tue, 12 Nov 2019 12:50:24 +0200

SpringBoot - Creation of SpringApplication Object for Startup Principle

Create SpringApplication Object SpringBoot version 2.1.1.RELEASE @SpringBootApplication public class SpringbootDemoApplication { public static void main(String[] args) { SpringApplication.run(SpringbootDemoApplication.class, args); } This is the startup class for the SpringBoot project. Within the main method, the static run() ...

Added by Telemachus on Wed, 22 May 2019 21:35:59 +0300