RabbitMQ -- persistence, release confirmation
It should have been updated yesterday, but when using the browser to access the web port of the server's RabbitMQ, chrome shows that it is not a private link and does not allow you to log in to the Edge. Baidu has found many problems and still can't solve them. The reason is that the server doesn't install SSL certificate and uses ip directly t ...
Posted by harmor on Mon, 07 Mar 2022 11:43:05 +0100
How rabbimq ensures data security
I Persistence
RabbitMQ supports message persistence, that is, data is written on disk. (1) exchange persistence, specifying durable = > 1 when declaring (2) queue persistence, specifying durable = > 1 when declaring (3) Message persistence, specifying delivery when delivering_ Mode = > 2 (1 is non persistent) Note: if the message is p ...
Posted by kraadde on Wed, 02 Mar 2022 06:26:09 +0100
An InterruptException occurred when the RocketMQConsumer service was shut down
An InterruptException occurred when the RocketMQConsumer service was shut down
Background summary
The main problem is the version upgrade
Old version core rocketmq dependency <dependency>
<groupId>org.apache.rocketmq</groupId>
<artifactId>spring-boot-starter-rocketmq</artifactId>
<version>${ve ...
Posted by akumakeenta on Tue, 01 Mar 2022 11:00:42 +0100
[RabbitMQ] how does RabbitMQ ensure that messages are 100% not lost?
RabbitMQ is used as the message queue in the project. I have encountered the loss of messages. I hereby record it.
Write in front
First, let's talk about the three semantics in MQTT protocol, which is very important.
In MQTT protocol, three quality of service standards that can be provided when delivering messages are given. The thre ...
Posted by jwadenpfuhl on Thu, 24 Feb 2022 14:54:25 +0100
Simple second kill system - optimization I (detailed notes)
Introduction and optimization process of simple second kill system
windows native hardware configuration:
8-core 32G
linux server hardware configuration:
2-core 4G
Foreword, the optimized simple second kill system does not involve distribution, so naturally there are no technical points such as master-slave replication. Here, we should a ...
Posted by 22Pixels on Fri, 18 Feb 2022 17:03:17 +0100
Sequential consumption of RocketMQ MessageListenerOrderly()
consumer.registerMessageListener(new MessageListenerOrderly() {
@Override
public ConsumeOrderlyStatus consumeMessage(List<MessageExt> msgs, ConsumeOrderlyContext context) {
for (MessageExt msg : msgs) {
System.out.println(new String(msg.getBody())+" Thread:"+Thread.currentThread( ...
Posted by gvanaco on Thu, 17 Feb 2022 07:29:29 +0100
Apache RocketMQ + Hudi Quick Build Lakehouse
Table of Contentsbackground knowledgeArchitectural Evolution in the Big Data AgeRocketMQ Connector&StreamApache HudiBuilding Lakehouse PracticesThe title of this article contains three keywords: Lakehouse, RocketMQ, Hudi. We start with the overall Lakehouse architecture, and then step by step analyze the causes of the architecture, the char ...
Posted by az_wraith on Tue, 15 Feb 2022 20:04:01 +0100
Implementation of rocketmq distributed transaction
1. Transaction scenario
Scenario: ICBC user A transfers 10000 yuan to CCB user B; Steps:
1. ICBC system sends a synchronization message M to Broker, which increases the payment of RMB 10000 to B2. After the message is successfully received by the Broker, send a successful ACK to the ICBC system3. ICBC system will deduct 10000 yuan from u ...
Posted by Blockis on Fri, 11 Feb 2022 12:45:16 +0100
Rocketmq - underlying principle of sequential message
Rocketmq can only guarantee local order, not global order messages
Sequential consumption based on queue (partition) is provided in RocketMQ.
Sequencing in RocketMQ mainly refers to the sequential consumption of messages. Each consumption group in RocketMQ has a separate thread pool for concurrent consumption of pulled messages, that is, t ...
Posted by IWS on Thu, 10 Feb 2022 08:03:51 +0100
Rocketmqlrocketmq message consumption retry mechanism
1. Retry of sequential messages
For sequential messages, when the consumer fails to consume the message, the message queue RocketMQ will automatically retry the message continuously (with an interval of 1 second). At this time, the application will be blocked in message consumption. Therefore, when using sequential messages, it is important to ...
Posted by baffled_in_UK on Thu, 10 Feb 2022 03:10:43 +0100