Talk about reconfigure? Later of rocketmq
order
This paper mainly studies the reconsume ﹣ later of rocketmq
ConsumeConcurrentlyStatus
rocketmq-client-4.5.2-sources.jar!/org/apache/rocketmq/client/consumer/listener/ConsumeConcurrentlyStatus.java
public enum ConsumeConcurrentlyStatus {
/**
* Success consumption
*/
CONSUME_SUCCESS,
/**
* Failure consumption,lat ...
Posted by TheMoose on Thu, 14 Nov 2019 06:37:31 -0800
SpringBoot Source Parsing--- Introduction to the core principles of SpringBoot
Overview of Spring Boot
Build Anything with Spring Boot: Spring Boot is the starting point for building all Spring-based applications. Spring Boot is designed to get you up and running as quickly as possible, with minimal upfront configuration of Spring.
Here's a quote from the website, which probably means that Spring Boot is the starting po ...
Posted by mightymaster on Wed, 13 Nov 2019 19:46:45 -0800
The implementation of delay message in ActiveMQ of SpringBoot
I. installation of activeMQ
Please refer to the online tutorial for installation steps, which will not be introduced in this article
II. Modify the activeMQ configuration file
New configuration information of broker schedulerSupport="true"
<broker xmlns="http://activemq.apache.org/schema/core" brokerName="localhost" dataDirectory=" ...
Posted by Jamesm on Tue, 12 Nov 2019 07:09:10 -0800
Proficient in Spring Boot -- Chapter 22: selection of packaging methods
1. Background
After the new Spring Boot is built, it will bring its own packaging method. Now it is usually packaged into jar package. Of course, you can also pack it into war package, I won't introduce it!
This article mainly wants to talk about the self-contained packaging method and assembly packaging method. What are the differences, advant ...
Posted by bluestar on Mon, 11 Nov 2019 22:52:41 -0800
Object Factory for Mybatis
Preface
Above How Mybatis XML maps to methods When you talk about result mapping in Mybatis, you need to create objects and assign values to their attributes. To create objects, you use Mybatis's built-in object factory class, DefaultObjectFactory. Of course, Mybatis also provides an extension mechanism that allows users to implement their own ...
Posted by spider on Sun, 10 Nov 2019 17:52:52 -0800
Talk about rocketmq's AccessValidator
order
This paper focuses on the access validator of rocketmq
AccessValidator
rocketmq/acl/src/main/java/org/apache/rocketmq/acl/AccessValidator.java
public interface AccessValidator {
/**
* Parse to get the AccessResource(user, resource, needed permission)
*
* @param request
* @param remoteAddr
* @return Plain acce ...
Posted by mickd on Sun, 10 Nov 2019 11:43:07 -0800
Troubleshooting Spark error -- Error initializing SparkContext
Spark reported an error when submitting the spark job
./spark-shell
19/05/14 05:37:40 WARN util.NativeCodeLoader: Unable to load native-hadoop
library for your platform... using builtin-java classes where applicable
Setting default log level to "WARN".
To adjust logging level use sc.setLogLevel(newLevel). For SparkR, use setLogLevel(newLevel) ...
Posted by motofzr1000 on Sun, 10 Nov 2019 08:02:46 -0800
Talk about the AclClientRPCHook of rocketmq
order
This paper mainly studies the AclClientRPCHook of rocketmq
RPCHook
rocketmq-remoting-4.5.2-sources.jar!/org/apache/rocketmq/remoting/RPCHook.java
public interface RPCHook {
void doBeforeRequest(final String remoteAddr, final RemotingCommand request);
void doAfterResponse(final String remoteAddr, final RemotingCommand request,
...
Posted by webpoet on Sat, 09 Nov 2019 09:48:31 -0800
If someone asks you about Java's reflection again, throw this article to him
In Java, not all types of information can be identified at the compilation stage. Some types of information need to be determined at runtime. This mechanism is called RTTI. In English, it is called Run-Time Type Identification. Runtime type recognition. Does it taste like "knowing and doing as one"?Runtime type recognition is mainly i ...
Posted by nystateofmind27 on Fri, 08 Nov 2019 15:51:56 -0800
java verifying the jar file downloaded by maven
Sometimes maven is really a hole!
Sometimes it prompts invalid LOC header (bad signat ure signature),
But sometimes we don't prompt anything, the engineering report is wrong, the situation is more moderate, we don't know that we have met several weird
Today, I encountered the first line error of POM prompt. How can it be? No error is reporte ...
Posted by Slippy on Fri, 08 Nov 2019 11:12:47 -0800