Maven scaffolding best practices
Background and objectives
To develop a new project, we need to build a new project. We often copy and paste configuration from other existing projects. It is inevitable that we will step into a hole because of some detailed configuration. Especially for new employees, when they don't know the compan ...
Posted by Fabio9999 on Mon, 09 Mar 2020 09:50:01 +0100
Timed Task Framework Quartz Learning Notes
In this post:
Introduction to Quartz
Quartz Quick Start Guide
This article only does the introduction and the effect preview project construction, does not do the code analysis.
Introduction to Quartz
Quartz is a rich and open source job scheduling library that can be integrated into almost any Java application, from the smallest stand-alo ...
Posted by lbaxterl on Mon, 24 Feb 2020 18:06:12 +0100
Zookeeper's practice and principle analysis of distributed topic-04 distributed coordination service
Directory navigation
Preface
data storage
Using zookeeper based on Java API
Event mechanism
How to register event mechanism
watcher event type
What kind of operation will produce what kind of event?
Implementation principle of transaction
In depth analysis of the implementation principle of Watcher ...
Posted by jordz on Wed, 19 Feb 2020 15:25:28 +0100
Artifact & GitLab CI continuous integration practice
GitLab CI enables you to create multiple builds and evaluate whether each code submission passes the test and the impact on your product. In the process of building, a large number of binary files will be generated. If these files are not managed correctly on a large scale, the binary file management will be confused. In order to overcome thi ...
Posted by cullouch on Wed, 19 Feb 2020 12:26:13 +0100
State & Fault Tolerance of Apache Flink Stream API (Chapter 4)
State & Fault Tolerance
Stateful function s and operators for flow processing can store the calculation state of each Event in the flow calculation process. State computation is the construction of precise operation will not or lack of plate. Flink needs to know the status of the computing node, so ...
Posted by iamtom on Sun, 19 Jan 2020 09:10:52 +0100
Introduction to backup and recovery of mongodb
1. Introduction to installation environment:
Installation environment for demo mongo:Binary installation package mongoDB3.6.16Grant mongodb the Super Administrator account:
mongo --host 127.0.0.1 --port 6068
db.createUser({user: 'root', pwd:'TdLLQ6689', roles:[{role: 'root', db: 'admin'}]});
use admin
db.auth("root","TdLLQ6689")
Database build ...
Posted by raku on Sun, 05 Jan 2020 22:00:48 +0100
The way of Hadoop learning MapReduce custom partition implementation
The partitioner of MapReduce is HashPartitionerPrinciple: first, hash the key output from the map, then reduce the number of tasks on the module. According to the result, determine the output kv pair, which is taken by the matching reduce task.Custom partition needs to inherit the Partitioner and copy the getpariton() methodCustom partition cl ...
Posted by dough boy on Sun, 29 Dec 2019 17:40:29 +0100
SpringCloud Distributed Microservice Cloud Architecture Part 3: Service Consumer (Finchley Version)
In the previous article, we talked about how to consume services through RestTemplate+Ribbon. This article mainly talks about how to consume services through Feign.
1. Introduction to FeignFeign is a declarative pseudo-Http client that makes it easier to write Http clients.With Feign, you only need to create an interface and annotate it.It has ...
Posted by bassdog65 on Thu, 12 Dec 2019 19:27:09 +0100
Blockchain tutorial Fabric1.0 source code analysis Ledger II
Blockchain tutorial's Fabric1.0 source code analysis Ledger II.
Ledger of Fabric 1.0 source code Notes
Supplement the definition of commonledger.Ledger interface embedded in PeerLedger interface as follows:
type Ledger interface {
GetBlockchainInfo() (*common.BlockchainInfo, error) //Get the basic information of blockchain
GetBlockByNum ...
Posted by zwiebelspaetzle on Thu, 12 Dec 2019 16:39:15 +0100
Solve the problem that maven cannot download the dependent jar package
Background:
There is a maven private server built in the company, and a core jar package has been made. At the beginning, it was XXX core.1.0.0.snapshot version, which can be used normally in both local and project environments. In order to support the launch and release a stable version, XXX core.1.0.0.jar.
The local compilation is normal, t ...
Posted by bluedot on Mon, 02 Dec 2019 18:42:27 +0100