commons-lang3 tool class learning (2)
From http://commons.apache.org/proper/commons-lang/javadocs/api-release/org/apache/commons/lang3/ Official documents to organize and remember for yourself
3. BooleanUtils
Boolean Tool Class
and(boolean...array) logic and
BooleanUtils.and(true, true) = true
BooleanUtils.and(false, false) = false ...
Posted by Aliz on Fri, 17 Jul 2020 08:53:21 -0700
javaSpring uses maven's initial build step java project
1. Modify in maven projectPom.xmlIntroduce dependencies on spring.<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com ...
Posted by jason102178 on Sun, 05 Jul 2020 07:40:05 -0700
Getting started with RocketMQ to ground transaction message & sequential message
Next: RocketMQ entry to earth (1) novice can also understand the principle and actual combat!
1, Origin of transaction message
1. Case study
Quoting official shopping cases:
At the same time, you need to add 100 points to the downstream account to ensure that 100 yuan will be deducted from the system. Account system and points system are two in ...
Posted by cyberdwarf on Mon, 29 Jun 2020 19:54:31 -0700
Eclipse configures hadoop development environment
Hadoop stepping on the pit (3)
Eclipse configures hadoop development environment
Environmental Science
windows 10
java 1.8
Namenode (Hadoop 1-ali) alicloud (CentOS 7.3) 120.26.173.104
hadoop version 2.8.5
Eclipse installation
Enterprise version needs to be installed. For network reasons, offline installation package is recommended
https://www.e ...
Posted by Duodecillion on Sun, 28 Jun 2020 22:17:50 -0700
Hbase client programming (Eclipse)
Hadoop stepping on the pit (4)
Hbase client programming (Eclipse)
Environmental Science
For the installation and configuration of Hbase and the configuration of Eclipse, please refer to the previous two articles
The version of hbase used in this series is 1.4.13
The selected hadoop version of this series is 2.8.5
Please pay attention to the per ...
Posted by Quest on Sun, 28 Jun 2020 21:59:57 -0700
How Dubbo's XML is used and how it integrates with Spring
catalog
How Dubbo's XML is used and how it integrates with Spring
ServiceClassPostProcessor
Implemented BeanDefinitionRegistryPostProcessor class
How the bean instance of ServiceClassPostProcessor is injected into the container in advance.
The definition of DubboNamespaceHandler, the parsing class ...
Posted by Kower on Sat, 27 Jun 2020 21:27:35 -0700
RocketMQ entry to the ground novice can also understand the principle and practice!
Learning any technology is a two-step process:
Setting up the environment
helloworld
I'm no exception. I'll do it directly.
1, RocketMQ installation
1. Documents
Official website
http://rocketmq.apache.org
GitHub
https://github.com/apache/rocketmq
2. Download
wget https://mirror.bit.edu.cn/apache/rocketmq/4.7.0/rocketmq-all-4.7.0-bin-rele ...
Posted by muretto on Sat, 27 Jun 2020 20:44:03 -0700
ActiveMQ learning note 5 -- the transmission protocol of ActiveMQ
1. Introduction
In the previous receiving ActiveMQ and code cases, you have configured:
broker-url: tcp://192.168.106.131:61616
See the default protocol of ActiveMQ for TCP. However, ActiveMQ processing supports TCP thank you. It also supports client broker communication protocols: TCP, NIO, UDP, ...
Posted by bigger on Sat, 27 Jun 2020 02:27:07 -0700
Detailed explanation of watermark in flink EventTime
window operation on data
In the window operation of flow data, when event time passes the window time, it will close the window. Then in the actual production environment, due to various reasons such as the network, late data may appear, resulting in data disorder. As shown in the figure below, the ...
Posted by plex303 on Thu, 25 Jun 2020 22:46:08 -0700
Construction of Zookeeper single machine and cluster environment
Article catalog
1, Single machine environment construction
1.1 download
1.2 decompression
1.3 configure environment variables
1.4 modify configuration
1.5 start up
1.6 verification
2, Cluster environment construction
2.1 modify configuration
2.2 identification node
2.3 start cluster
2.4 cluster ve ...
Posted by jwagner on Thu, 25 Jun 2020 04:42:05 -0700