Node learning notes combined with core module url for comment submission

Node.js core method url The URL module is used to process and parse URLs Use it as follows: const url = require('url'); The core module methods used in this example are url.parse,.pathname, ``.query` url.parse(urlStr[, parseQueryString[, slashesDenoteHost]]) Convert a URL string to an object and return UrlStr // URL string parseQueryString ...

Posted on Tue, 10 Dec 2019 11:45:29 -0500 by dougmcc1

Talk about the MQFaultStrategy of rocketmq

order This paper mainly studies the MQFaultStrategy of rocketmq MQFaultStrategy rocketmq-client-4.6.0-sources.jar!/org/apache/rocketmq/client/latency/MQFaultStrategy.java public class MQFaultStrategy { private final static InternalLogger log = ClientLogger.getLog(); private final LatencyFaultTolerance<String> latencyFaultTolerance ...

Posted on Tue, 10 Dec 2019 11:42:43 -0500 by anwoke8204

Linux + Tomcat using https

The content of this blog is for self use and collection. Please refer to the footnote for reference Installation environment Ubuntu 18.04 + Tomcat 9.0.11 + OpenJDK 11 If you do not have Tomcat and JDK installed, please install and configure PATH before proceeding with the following steps. Obtaining certificates Main refere ...

Posted on Tue, 10 Dec 2019 11:27:37 -0500 by omerta

Customize Maven plug-in features

Custom maven plug-in Create a maven project Created in the above way, Maven plugin API dependency and packaging will be introduced automatically; as follows <packaging>maven-plugin</packaging> <dependency> <groupId>org.apache.maven</groupId> <artifactId>maven-plugin-api</artifactId> <version& ...

Posted on Tue, 10 Dec 2019 07:40:14 -0500 by High_-_Tek

Installing ActiveMQ-5.15.8 under Linux

1.ActiveMQ official website link: http://activemq.apache.org/① select Download② select ActiveMQ 5.15.8 ReleaseNote: the minimum version of Jdk required for ActiveMQ 5.15.8 is 1.8. Please refer to Change Log for details③ copy download link cd /usr/local wget http://www.apache.org/dyn/closer.cgi?filename=/activemq/5.15.8/apache-activemq-5.15.8-bi ...

Posted on Tue, 10 Dec 2019 07:23:38 -0500 by terfle

3. Flnk--DataStream API Principle and Usage

1. Basic overview of DataStream What is 1.1 datastream? datastream is an api provided by flink for stream computing and batch processing. It encapsulates the api of the underlying stream computing model for user programming. 1.2 datastream run model A complete datastream running model generally consists of three parts, Source, Transformation, ...

Posted on Tue, 10 Dec 2019 07:17:05 -0500 by phrozenflame

Big data tutorial (6.6) developing and building hadoop system on Windows 10 & using Java API to operate HDFS file system

The blogger of the last article told you about the command line operation of hadoop and the running case of the first mapreduce program. This article will continue to explain how to build hadoop on Windows 10 and use Java API to operate HDFS file system. I. building a hadoop environment on win10 1. Download hadoop-2.9.1.tar.gz on the official ...

Posted on Mon, 09 Dec 2019 15:02:09 -0500 by ErnesTo

Talk about getOrCreateMQClientInstance for rocketmq

order This article mainly studies getOrCreateMQClientInstance of rocketmq getOrCreateMQClientInstance rocketmq-client-4.6.0-sources.jar!/org/apache/rocketmq/client/impl/MQClientManager.java public class MQClientManager { private final static InternalLogger log = ClientLogger.getLog(); private static MQClientManager instance = new MQClie ...

Posted on Mon, 09 Dec 2019 06:58:36 -0500 by KevMull

Apache Tomcat 8.5 security configuration and high concurrency optimization

Generally, in our production environment, the default configuration of Tomcat obviously can't meet our product requirements, so we need to optimize the configuration of Tomcat at many times. I will integrate my own experience to configure the security and optimization of Tomcat. If you have a better solution, please leave a message, and I will ...

Posted on Mon, 09 Dec 2019 02:04:16 -0500 by konky

Configuration service (based on the configuration service of ZooKeeper cluster)

Configuration service Configuration service is one of the basic services for building distributed applications. Configuration service enables distributed applications to retrieve and update configuration files. I have written a small example of configuration service for your reference. Operating environment: elipse JDK (I use ...

Posted on Sun, 08 Dec 2019 22:43:39 -0500 by ricmch