ActiveMQ (XI) -- how to start Broker

Broker: equivalent to an ActiveMQ server instance Command line start parameter instance: 1. / ActiveMQ start: use the default activemq.xml to start 2. / ActiveMQ start xbean: File:.. / conf / activemq-2.xml use the specified configuration file to start 3. If file is not specified, that is, xbean:activemq-2.xml, then XML must b ...

Posted by something on Sat, 04 Jan 2020 07:19:07 +0100

Third party login - Baidu

Third party login - Baidu Log in from a third-party baidu account Prerequisite: have its own server, domain name. First register an account in Baidu Developer Center Then enter the application management interface under the account, Create a project, and the API Key and Secret Key will be given after the project is cre ...

Posted by sureshmaharana on Fri, 03 Jan 2020 12:23:03 +0100

Maven project combines POI to realize import import import import import Excl form Demo - pro test available

Step 1: write maven dependency (3.6 is a stable version, which can be used in production environment) <!-- https://mvnrepository.com/artifact/org.apache.poi/poi --> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version&g ...

Posted by YourNameHere on Tue, 31 Dec 2019 19:08:16 +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

Spring Cloud's Hystrix fuse

The fuse mechanism is a self-protection mechanism. When there are a large number of requests piled up and the service is unable to handle them immediately, the fuse mechanism can decide to discard the requests to ensure that its resources are not exhausted and downtime. The fuse is usually used on the service consumers. When th ...

Posted by jjacquay712 on Thu, 26 Dec 2019 17:38:48 +0100

spring boot uses the assembly plug-in to package dependent jar s into external standalone folders

spring boot packs all dependent jars into one jar by default when it packs and runs jars. This is inconvenient because the packaged jar packages are relatively large and need to be uploaded to the server for a long time. Here, we can use the assembly plug-in to package dependent jars into external independent folders. In the future, we only nee ...

Posted by westmich on Wed, 25 Dec 2019 22:29:45 +0100

java realizes one key package of Android and generates hundreds of channel packages in seconds

In order to realize the function of generating channel package by one key in java, we need to make preparations in advance. There are about three points as follows 1. Put the channel number that needs to be generated in the excel file when it is ready 2. You need to download two jar packages, commons-compress-1.16.1.jar and jxl. ...

Posted by terje-s on Tue, 24 Dec 2019 15:36:56 +0100

Talk about nimbus.seeds parameter of storm client

order This paper mainly studies nimbus.seeds parameter of storm client NIMBUS_SEEDS storm-core-1.1.0-sources.jar!/org/apache/storm/Config.java /** * The host that the master server is running on, added only for backward compatibility, * the usage deprecated in favor of nimbus.seeds config. */ @Deprecated @isString ...

Posted by grantp22 on Wed, 18 Dec 2019 16:21:04 +0100

Docker initial experience: docker deploys spring cloud project Eureka server

Docker deploys spring cloud project Eureka server 1 create Eureka server project Create the parent project cloud demo, whose pom.xml is as follows: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http:// ...

Posted by watson100 on Wed, 18 Dec 2019 15:37:04 +0100

Talk about the RemotingTooMuchRequestException of rocketmq

order This paper focuses on the remoting toomuchrequestexception of rocketmq RemotingTooMuchRequestException rocketmq-remoting-4.6.0-sources.jar!/org/apache/rocketmq/remoting/exception/RemotingTooMuchRequestException.java public class RemotingTooMuchRequestException extends RemotingException { private static final long serialVersionUID = 43 ...

Posted by Blaze(!) on Sun, 15 Dec 2019 15:09:02 +0100