RocketMQ Consumer receiving message process

  this section describes the process of Consumer receiving messages, which is divided into Pull and Push modes. 1. initialization   as mentioned in the previous section, there are two ways for a Consumer to accept a client: Broker finds that the client list has changed and informs all consumers to perform Rebalance Consumer automatic ...

Posted by Risingstar on Tue, 25 Feb 2020 06:28:19 -0800

Spring boot2. X basic chapter: take you to know about scanning Package automatic registration Bean

Knowledge changes fate, rolling code makes me happy, and I will continue to swim in the open source industry in 2020 < br / > Take a look at what you like and get into the habit < br / > Give me a Star, Click to learn about the implementation solution of component-based interface service based on spring boot We have been using Sp ...

Posted by lazytiger on Tue, 25 Feb 2020 00:54:47 -0800

C + + details

Article directory Separation of implementation and declaration Do not use using namespace std; The enhancement of C + + to C language Key 1 references Notes for reference The nature of quotation Pointer reference Constant reference Member function call const to decorate object instance Construction ...

Posted by Jabop on Mon, 24 Feb 2020 23:27:01 -0800

nginx http module configuration merge

When configuring the nginx.conf file, it is easy to see that some of the configuration items can be configured in either an http block, a server block, or a location block.But not all configuration items can be configured anywhere. Depending on the role they play, nginx defines where each configuration block can be used.Since a configuration it ...

Posted by meburke on Mon, 24 Feb 2020 17:51:36 -0800

When does java use CountDownLatch

1. What is CountDownLatch CountDownLatch was introduced in Java 1.5, along with the concurrency tool classes CyclicBarrier, Semaphore, ConcurrentHashMap, and BlockingQueue, which all exist under the java.util.concurrent package.CountDownLatch is a class that enables one thread to wait for other threads to finish their work before executing.For ...

Posted by daria on Mon, 24 Feb 2020 15:15:01 -0800

How Spring Boot tests packaged deployments

I. Development Phase (1) Unit testing The most important thing in the development phase is unit testing, and Spring Boot's support for unit testing is already complete. 1. Add dependencies to the pom.xml file <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</arti ...

Posted by boo_lolly on Sun, 23 Feb 2020 18:56:52 -0800

RocketMQ Transaction Message Details for Distributed Transactions

Zhang Shenyaohttps://blog.csdn.net/weixin_34452850/article/details/88851419 Transaction messages are a very important feature provided by RocketMQ. They are open source after version 4.x and can be used to easily implement distributed transactions.This article gives a detailed description of the transaction messages for RocketMQ and gives a c ...

Posted by fael097 on Sun, 23 Feb 2020 18:55:37 -0800

An article on the beauty of DirectX 12

DirectX 12 is Microsoft's latest graphics API library, which is only supported on Win10 system (if it is not Win10, it must be upgraded to Win10). My biggest feeling about this API is that it is particularly complex, because it exposes many underlying methods. Even though I have learned DX9, I still ...

Posted by javiqq on Sun, 23 Feb 2020 03:47:31 -0800

14. The use of listener in SpringBoot

1.1 introduction to monitor What is a web listener? A web listener is a special class in a Servlet that helps developers listen to specific events in the web, such as ServletContext, Httpsession, creation and destruction of ServletRequest, creation, destruction and modification of variables can be added before and after certain actions to real ...

Posted by avario on Sat, 22 Feb 2020 21:52:50 -0800

AMQP Actual Warfare for Message Middleware 2

Instance Analysis Previously, we have read the documentation of AMQP, and have a general understanding of AMQP. This paper will go through the basic operation of AMQP from an example. Get ready Environmental Science RabbitMQ server 3.7.16 RabbitMQ client 5.7.3 The client code uses the RabbitMQ tutorial as follows: public static void main(String ...

Posted by klik on Sat, 22 Feb 2020 19:50:15 -0800