Set up eureka,gateway,admin,redis,docker series. Redis and redisapi are together

This chapter covers the redis interface Aspect signature swagger2 1. Install redis on Linux centOS server. Go to the Internet for specific installation commands. It's relatively simple. I used the config set maxmemory policy volatile LRU policy 2. Create an empty module project Add pom dependency <dependencies> <dependency> ...

Posted on Thu, 26 Mar 2020 11:06:21 -0400 by kitaeshi

Simple use of Spring Security

Community links: http://www.spring4all.com/article/428 There are some problems in Spring Security introduction series Spring Security dynamic permission modification. Here is the corrected code. pom.xml <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema- ...

Posted on Thu, 26 Mar 2020 10:59:09 -0400 by jimson

Set up eureka,gateway,admin,redis,docker series of admins

spring cloud admin brief introduction Spring Boot Admin is used to monitor applications based on Spring Boot. It provides a simple visual WEB UI based on Spring Boot activator. Spring Boot Admin provides many functions, such as displaying name, id and version, displaying online status, Loggers' log level management, Threads thread management, ...

Posted on Thu, 26 Mar 2020 10:41:00 -0400 by malam

Set up eureka,gateway,admin,redis,docker series

Eureka Yes. Netflix Developed, a REST service based, service registration and discovery component It mainly includes two components: Eureka Server and Eureka Client Eureka Client: a Java client used to simplify the interaction with Eureka Server (usually the client and server in microservices) Eureka Server: provides service registration and d ...

Posted on Thu, 26 Mar 2020 10:32:37 -0400 by wizzkid

Set up eureka,gateway,admin,redis,docker series of gateways

1. overview Spring Cloud gateway is an official gateway developed by spring based on Spring 5.0, Spring Boot2.0, Project Reactor and other technologies. Spring Cloud gateway aims to provide a simple, effective and unified API route management method for microservice architecture. As a gateway in Spring Cloud health system, Spring Cloud gateway ...

Posted on Thu, 26 Mar 2020 10:14:27 -0400 by texmansru47

Apollo - environment building

abstract This paper is based on the Apollo source code construction, to build the Apollo operating environment. Apollo's official documents are very detailed. Here is just a record and a note. Resources Apollo Apollo's architecture In a nutshell, you can think of Apollo as three parts: Apollo portal is a web application. It has its own databa ...

Posted on Wed, 25 Mar 2020 13:38:51 -0400 by bltesar

Simple message broadcast and unicast of Websocket using Spring

Recently, I am doing my graduation project. I need to use Websocket to push messages. Looking at the documents on the Spring official website, I found that Spring has extended the functions of Websocket too much, and introduced the concepts of STOMP and Broker( https://spring.io/guides/gs/messaging-stomp-websocket/ ). But my project doesn't us ...

Posted on Wed, 25 Mar 2020 10:09:00 -0400 by gman-03

7. SpringCloud Chapter VII, Upgrade Chapter, Upgrade Overview and Rest Micro Service Case Building

Chapter Six of SpringCloud, Upgrade, Upgrade Overview and Rest Micro-Service Case Building 1. Changes after Springcloud upgrade Each of the original frameworks has changed since the springcloud upgrade was found. 2. Rest Micro-Service Construction Case Project Make a microservice generic case with the order module, Consumer consumer [or ...

Posted on Wed, 25 Mar 2020 02:12:12 -0400 by davitz38

Operating Redis in java code: single machine redis, cluster redis (spring+redis integration)

I. Preparation For some installations of redis, check out my articles to install them yourself: Redis directory. A web project, and one of the github projects I've been working on here is: https://github.com/gubaijin/buildmavenweb Edits client dependency package Jedis importing java:<dependency> <grou ...

Posted on Tue, 24 Mar 2020 20:54:51 -0400 by eekeek

Hook method and hook interface in spring

spring framework has a high scalability. We can extend spring flexibly through these interfaces. 1. Aware interface Spring provides a variety of Aware interfaces, which is convenient to get the current running environment from the context. Several common sub interfaces are: ApplicationContextAware, BeanClassLoaderAware, BeanFactoryAware, Be ...

Posted on Tue, 24 Mar 2020 07:59:11 -0400 by Verrou