maven builds executable jar package

You can pay attention to some dry goods. Build jar package with dependency <plugin> <artifactId>maven-assembly-plugin</artifactId> <configuration> <appendAssemblyId>false</appendAssemblyId> <descriptorRefs> ...

Posted by jkejser on Sat, 21 Dec 2019 12:07:49 -0800

Talk about rocketmq's consumemode.order

order This paper mainly studies the consumemode.order of rocketmq ConsumeMode.ORDERLY rocketmq-spring-boot-2.0.4-sources.jar!/org/apache/rocketmq/spring/annotation/ConsumeMode.java public enum ConsumeMode { /** * Receive asynchronously delivered messages concurrently */ CONCURRENTLY, /** * Receive asynchronously deli ...

Posted by hawk72500 on Sat, 21 Dec 2019 09:59:17 -0800

ELK Log Analysis System - (Actual!)

brief introduction log server Improving security Centralized storage of logs Defect: Difficulty in log analysis ELK Log Analysis System Elasticsearch: Storage, Index Pool Logstash: Log Collector Kibana: Data visualization Log Processing Steps 1, centralize log management 2, Logstash and output to Elasticsearch 3. Index and store the f ...

Posted by pkrtech on Thu, 19 Dec 2019 15:11:37 -0800

Talk about the CleanCommitLogService of rocketmq

order This paper mainly studies the CleanCommitLogService of rocketmq CleanCommitLogService rocketmq-all-4.6.0-source-release/store/src/main/java/org/apache/rocketmq/store/DefaultMessageStore.java class CleanCommitLogService { private final static int MAX_MANUAL_DELETE_FILE_TIMES = 20; private final double diskSpaceWarningL ...

Posted by aaronxbond on Thu, 19 Dec 2019 07:53:47 -0800

Talk about service not available of rocketmq

order This paper mainly studies service not available of rocketmq SERVICE_NOT_AVAILABLE rocketmq-all-4.6.0-source-release/common/src/main/java/org/apache/rocketmq/common/protocol/ResponseCode.java public class ResponseCode extends RemotingSysResponseCode { public static final int FLUSH_DISK_TIMEOUT = 10; public static final int SLAVE_ ...

Posted by VBAssassin on Wed, 18 Dec 2019 06:15:14 -0800

Command that operation and maintenance must master -- Systemd instruction

I. origin Historically, Linux startup Always used init Process. The following command is used to start the service. $ sudo /etc/init.d/apache2 start # perhaps $ service apache2 start This method has two disadvantages. First, it takes a long time to start. init process is started serially. The next process will be started only afte ...

Posted by mwkdesign on Wed, 18 Dec 2019 02:23:27 -0800

Talk about leader elector of storm nimbus

order This paper mainly studies the leader elector of storm nimbus Nimbus org/apache/storm/daemon/nimbus/Nimbus.java public static void main(String[] args) throws Exception { Utils.setupDefaultUncaughtExceptionHandler(); launch(new StandaloneINimbus()); } public static Nimbus launch(INimbus inimbus) throws Exception ...

Posted by Kelset on Tue, 17 Dec 2019 14:59:39 -0800

Deployment of zabbix monitoring service

zabbix monitoring service zabbix: it is an enterprise level open source solution based on WEB interface that provides distributed system monitoring and network monitoring functions. It can monitor various network parameters to ensure the safe operation of the server system, and provide flexible notification mechanism to enabl ...

Posted by loveitandhateit on Tue, 17 Dec 2019 10:19:56 -0800

RocketMQ dual Master cluster construction

Machine preparation Two independent linux hosts with IP of 172.31.175.142/143 172.31.175.142 NameServer1, Broker Master1 172.31.175.143 NameServer2, Broker Master2 Installation configuration install Download the binary version and extract it wget http://mirrors.hust.edu.cn/apache/rocketmq/4.3.0/rocketmq-all-4.3.0-bin-r ...

Posted by software4 on Tue, 17 Dec 2019 09:03:15 -0800

Talk about the start of storm supervisor

order This paper mainly studies the start-up of storm supervisor Supervisor.launch storm-core-1.2.2-sources.jar!/org/apache/storm/daemon/supervisor/Supervisor.java /** * Launch the supervisor */ public void launch() throws Exception { LOG.info("Starting Supervisor with conf {}", conf); String path = ConfigUtils ...

Posted by RobbertvanOs on Mon, 16 Dec 2019 14:04:35 -0800