UnavailableSecurityManagerException in Spring Boot integration shiro

Spring boot uses spring security by default. Spring security is a powerful security framework, needless to say. However, if you are used to shiro, you will not use spring security for a while, so you need to integrate shiro in spring boot. When it comes to integrating shiro, there are many online tutorials, but online tutorials are not necessar ...

Posted on Sun, 21 Jun 2020 02:28:31 -0400 by jollyjumper

Using SpringCloud Stream and rabbitMQ to implement message consumption failure retransmission mechanism

In the actual project, the message consumption often fails, so it is necessary to resend the message. For example, after the failure of payment message consumption, N times of message retransmission reminder should be performed in different time periods. This paper simulates the scene Message consumption succeeds when the amount is less than ...

Posted on Sun, 21 Jun 2020 00:29:09 -0400 by garfield213

Spring Boot's "hello world" program

Environmental Science Operating system: Ubuntu 20.04 Development tool: IntelliJ IDEA 2020.1.2 (Community Edition) JDK: ➜ ~ java -version openjdk version "14.0.1" 2020-04-14 OpenJDK Runtime Environment (build 14.0.1+7-Ubuntu-1ubuntu1) OpenJDK 64-Bit Server VM (build 14.0.1+7-Ubuntu-1ubuntu1, mixed ...

Posted on Sat, 20 Jun 2020 23:58:02 -0400 by keegan

Spring Boot multi module development and pit drainage guide none in history

Recommended reading: How to improve the core competitiveness of Java engineers who have worked for 1-5 years                   Ali architect said: "no real combat is just talking on paper"! Redis live PDF sharing                   Working hard for more than half a year, Ali finally got hi ...

Posted on Sat, 20 Jun 2020 04:52:25 -0400 by canadian_angel

Day 3: HBase API

API call More commonly used in the work is to call and implement operations similar to HBase shell through HBase API. Environmental preparation IDEA + Maven + HBase <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.or ...

Posted on Sat, 20 Jun 2020 03:37:46 -0400 by Ting

Using Flink Metric Reporter to monitor flink task indicators

Since flink1.8, the reporter supports writing index data to influxdb, and users can read the data in influxdb for visualization. But for small and medium-sized companies, most of them don't choose self-developed visualization because of the cost. We choose grafana for the visualization of flick metrics. ...

Posted on Sat, 20 Jun 2020 01:41:30 -0400 by lurius

Java+Maven+TestNG interface (API) automation test tutorial

In the previous chapter, we wrote the first test class of get request. In this chapter, we will preliminarily optimize and encapsulate it. 6.1 separate request sending class First of all, our interface automation testing framework will use a lot of http request sending functions in the future. T ...

Posted on Sat, 20 Jun 2020 01:35:22 -0400 by helloise

Introduction to CAT minimalism (application monitoring platform)

1. Overview Lazy tips: CAT official documents - simplicity It's been written very well. Here's a great way to use direct CV~ CAT(Central Application Tracking) It is a real-time application monitoring platform developed based on Java, which provides a comprehensive real-time monitoring and alarm ...

Posted on Sat, 20 Jun 2020 00:40:37 -0400 by callmubashar

How to convert Log4j to logback without Log4j

Custom Catalog title is written here Fix the vulnerability, remove Log4j and introduce logback 1 background 2 difficulties 3 Introduction to components 3.1 code structure 3.2 description of key categories 3.2.1 ClassOfCallerConverter.java 3.2.2 MethodOfCallerConverter.java 3.2.3 LineOfCallerConver ...

Posted on Fri, 19 Jun 2020 04:32:09 -0400 by mhewall

What is the Watcher mechanism in Zookeeper?

Article catalog What is the watcher mechanism Notification state (KeeperState) Event type Client implementation of EventType registration and notification Server implementation of EventType registration and notification EventType registration and notification process Simple code example What i ...

Posted on Thu, 18 Jun 2020 07:06:48 -0400 by paudelvikash