Talk about QuorumVote of artemis
order
This paper mainly studies QuorumVote of artemis
QuorumVote
activemq-artemis-2.11.0/artemis-server/src/main/java/org/apache/activemq/artemis/core/server/cluster/qourum/QuorumVote.java
public abstract class QuorumVote<V extends Vote, T> {
private SimpleString name;
public QuorumVote(SimpleString name) {
this.name = name; ...
Posted by amylisa on Sun, 09 Feb 2020 15:41:43 +0100
Hutool Java tool class library export Excel, super simple!
Preface
When developing an application system, exporting files is a necessary function.
I've used the import and export functions of POI, easyexcel and other tools before, but I always feel that it's too troublesome, there are too many codes, and I don't think it's very easy to use them.
Today, I'd like ...
Posted by BluntedbyNature on Sat, 08 Feb 2020 09:27:50 +0100
WeChat Payment Detailed Tutorial Actual
1: This article only aims at the scavenging payment of the third-party native pc platform
1. Noun Interpretation:
1,
WeChat Public Platform
The WeChat public platform is the WeChat public account application entry and management background.Merchants can submit basic data, business data and financia ...
Posted by Viper_4 on Sat, 08 Feb 2020 06:10:20 +0100
Talk about ribbon timeout settings
order
This article mainly studies ribbon timeout settings
To configure
Example
ribbon:
ReadTimeout: 10000
ConnectTimeout: 10000
MaxAutoRetries: 0
MaxAutoRetriesNextServer: 1
eureka:
enabled: true
RibbonClientConfiguration
spring-cloud-netflix-ribbon-2.0.0.RELEASE-sources.jar!/org/springframework/cloud/netflix/ribbon/RibbonClientC ...
Posted by Jason Batten on Fri, 07 Feb 2020 19:28:37 +0100
Sending and receiving data of Kafka
First, configure the port number and the topic should be
Second, load the configured producers and consumers in spring bean.xml
As follows:
Consumer: consumer configuration
<?xml version="1.0" encoding="UTF-8"?>
<bean id="consumerProperties" class="java.util.HashMap">
<constructor-arg&g ...
Posted by francoisp on Sun, 02 Feb 2020 18:44:41 +0100
mycat sub database sub table enumeration sub section 1
1. Key xml configuration tables
server.xml
The user tab specifies the account to access the database.
<?xml version="1.0" encoding="UTF-8"?>
<!-- - - Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License. - Y ...
Posted by austrainer on Sun, 02 Feb 2020 15:14:14 +0100
Module Apache instructions
Module Apache instructions
About Apache
Apache Is the world's number one Web server software. It can run on almost all widely used computer platforms. Because of its cross platform and security, it is one of the most popular Web server-side software. It is fast, reliable and can be expanded through ...
Posted by zamzon on Sat, 01 Feb 2020 16:56:20 +0100
idea creates maven's springboot project
1. Create a project:
1. Create a new project:
2. Click next
3. Choice dependency:
Select a web project here
4. Customize the project name and path:
The structure path of the created project is as follows:
Project Start:
Click Run to run
The startup log is as follows:
Indicates ...
Posted by l9pt5 on Sat, 01 Feb 2020 05:52:48 +0100
tomcat deployment under Linux
Install tomcat
Environment: java environment configured
First, go to the official website to download the Tomcat package, http://tomcat.apache.org/, and choose the version you need. Here's a demonstration of Tomcat 9
There are many options to click in
Download tar.gz under the core, upload it to the s ...
Posted by thomas2 on Sat, 01 Feb 2020 01:30:04 +0100
Kafka integrates Java API
1, Development preparation
First of all, after setting up the kafka (version 1.0.0) environment, the development language used here is Java, the build tool Maven.
Maven relies on the following:
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSche ...
Posted by chrispols on Thu, 30 Jan 2020 07:46:14 +0100