Install alirocketmq version from scratch on CentOS7: release-4.0.1
Install alirocketmq version from scratch on CentOS7: release-4.0.1 [pro test ha ha]
Install git
# Update package
$ yum update
# Install git
$ yum install git
# Verify git installation success
$ git --version
# So git can be installed successfully
Install wget dependency package
# Update package
$ yum install wget
# You can ...
Posted by SCRUBBIE1 on Thu, 12 Dec 2019 08:46:41 -0800
Dev log | how to publish jar package to Maven central warehouse
abstract
The Maven central warehouse does not support direct upload of jar packages, so it is necessary to publish the jar packages to some designated third-party Maven warehouses, such as the Sonatype OSSRH warehouse, and then the warehouse synchronizes the jar packages to Maven. This paper records the whole publishing and synchronization pro ...
Posted by Shaun on Wed, 11 Dec 2019 22:50:51 -0800
Spring cloud learning - Hystrix first understands Hystrix, and calls Feign remotely
[TOC]
1. Get to know Hystrix
Hystrix is a delay and fault-tolerant library, which aims to isolate remote systems, services and third-party libraries, organize cascading failures, and realize recovery capability in distributed systems with load.
In the case of multiple systems and microservices, a mechanism is needed to deal with delays and fail ...
Posted by Highland3r on Wed, 11 Dec 2019 20:50:56 -0800
Dynamic and static separation of Nginx under linux CentOS7
The separation of static and dynamic doesn't explain. There are a lot of theories on the Internet, but the implementation means I understand is that specific requests use specific processing methods.
For nginx installation, please refer to this:
https://blog.csdn.net/tangyaliang11/article/details/78675535
For tomcat installa ...
Posted by jh21236 on Wed, 11 Dec 2019 12:25:50 -0800
Online tracking class method execution time consuming
The online environment is mostly Linux, sometimes the code execution is slow, but you can't locate where it's slow, or it's more difficult to locate. This article introduces a way to facilitate your problem location.
First of all, let's talk about a tool: Arthas, which is mainly an open-source tool of Alibaba. For details, please ...
Posted by parkej60 on Wed, 11 Dec 2019 10:04:30 -0800
How to customize Python UDF in PyFlink 1.10?
We know that PyFlink is newly added in Apache Flink version 1.9, so can the speed of Python UDF function support in Apache Flink 1.10 meet the urgent needs of users?
The development trend of Python UDF
Intuitively, the function of PyFlink Python UDF can also be changed from a seedling to a tree as shown in the above figure. Why do you have thi ...
Posted by premiso on Wed, 11 Dec 2019 07:02:35 -0800
Kafka+Zookeeper cluster construction
Environmental preparation
Kafka
Version: kafka_2.10-0.10.2.0 (2.10 for Scala version 0.10.2.0 for Kafka version)
Official download address: http://kafka.apache.org/downloads
Zookeeper
Version: zookeeper-3.4.13
Official download address: http://zookeeper.apache.org/releases.html
JDK
Version: jdk1.8.0_
Official download address: h ...
Posted by NuLL[PL] on Tue, 10 Dec 2019 14:49:00 -0800
###Observer of coprocessor of hbase coprocessor
Customize JAVA class and inherit BaseRegionObserver
package com.charley.example.hbase2es;
import org.apache.hadoop.hbase.Cell;
import org.apache.hadoop.hbase.CellUtil;
import org.apache.hadoop.hbase.CoprocessorEnvironment;
import org.apache.hadoop.hbase.client.Durability;
import org.apache.hadoop.hbase.client.Put;
import ...
Posted by kurtsu on Tue, 10 Dec 2019 04:29:07 -0800
Talk about rocketmq's latency fault tolerance
order
This paper mainly studies the latency fault tolerance of rocketmq
LatencyFaultTolerance
rocketmq-client-4.6.0-sources.jar!/org/apache/rocketmq/client/latency/LatencyFaultTolerance.java
public interface LatencyFaultTolerance<T> {
void updateFaultItem(final T name, final long currentLatency, final long notAvailableDuration);
...
Posted by kcgame on Tue, 10 Dec 2019 00:16:04 -0800
JAVA implementation writing platform code generator
[CRUD is often written in the project, but in practice, I think if there is a complete code specification, it can be generated automatically and speed up the development efficiency
The technical principle of code generator is not complicated. Generally, a template is written to generate a series of codes. I saw that the code genera ...
Posted by sara_kovai on Mon, 09 Dec 2019 18:21:59 -0800