[RocketMQ] SpringBoot integrates RocketMQ transactions
1, Overview
Distributed transaction messages are a unique feature of RocketMQ. In many scenarios, the strong consistency of transactions is not required, but only the final consistency of transactions. At this point, transaction messages can well meet the requirements.
By putting the local transaction and message sending into one local tr ...
Posted by pazzy on Sun, 28 Nov 2021 16:58:58 +0100
Special topic on message queuing (practical part): SpringBoot integration RabbitMQ entry-level practical combat
Recently, I'm more and more motivated to learn. I just finished the RabbitMQ introduction and environment construction last night. Today, I began to update the actual combat article. I think of what my colleagues described to me: the donkeys in the production team are not as diligent as you. Ha ha, ha ha, that's really right!
To get back to bu ...
Posted by stratguitar on Fri, 26 Nov 2021 23:02:53 +0100
Kafka.Kafka&JAVA advanced API
Kafka (V). Kafka & Java advanced API
1.Offset automatic control
When the consumer does not subscribe to the offset of topic, that is, kafka does not record the consumer's information, the consumer defaults to the first consumption strategy;
auto.offset.reset = latest
Latest subscription starts with the latest offset defaultearliest sing ...
Posted by bharrison89 on Sat, 20 Nov 2021 22:40:42 +0100
Rocket MQ Series III - producer startup process
DefaultMQProducer is the default producer implementation in RocketMQ. The inheritance relationship between DefaultMQProducer classes is as follows:
You can see that the producer includes the producer's operation and configuration properties during implementation, which is a typical class object desi ...
Posted by metalhead41 on Thu, 18 Nov 2021 17:24:39 +0100
Message Oriented Middleware (RabbitMQ, RocketMQ and Kafka)
1 Introduction
When it comes to message oriented middleware, I think everyone should be familiar with it and have more or less contact with it. In fact, the popular understanding is that message middleware is a developed system and deployed independently, and then our business system sends and receives messages through it, so as to achieve t ...
Posted by GRUMBLE on Wed, 17 Nov 2021 07:05:17 +0100
RocketMq cluster installation & spring boot integration
catalogue
1, RocketMQ introduction
2, Noun interpretation
3, Installation
Installation mode
preparation
Build RocketMQ cluster in traditional way
4, Integrate Springboot
1, RocketMQ introduction
RocketMQ is a distributed messaging middleware, which was originally developed by Alibaba's ...
Posted by tommyinnn on Wed, 10 Nov 2021 20:32:06 +0100
13 rocketmq development model
In the previous part, we can build a RocketMQ cluster, and then use the command line to write messages to RocketMQ and consume them. In this part, let's look at how to use RocketMQ in the project.
1, RocketMQ native API usage
Using RocketMQ's native API development is the simplest and most reliable way at present. Here, we use SpringBoot ...
Posted by John Canyon on Wed, 20 Oct 2021 09:54:46 +0200
Concept and usage of message queue Rabbit MQ
The popular open source message middleware in the industry includes ActiveMQ, rabbitmq, RocketMQ, Kafka and ZeroMQ, among which rabbitmq, RocketMQ and Kafka are the most widely used. Redis can also be a mechanism similar to Queue and Pub/Sub to some extent, but it is not strictly a message oriented middleware. This article will talk about the b ...
Posted by monotoko on Wed, 20 Oct 2021 06:07:53 +0200
Easily implement RabbitMQ cluster construction
This paper is based on linux system to build rabbitmq cluster. By default, the installation is completed. If it is not installed, you can go to RabbitMQ simple installation See how to install. The following is the construction of single machine mode cluster
Check whether it is running
Make sure rabbitmq is running properly.
ps aux|grep rabb ...
Posted by anto on Tue, 12 Oct 2021 07:55:39 +0200
RocketMQ source code analysis [3] Broker startup process source code analysis
entrance
The source code entry for Broker startup is BrokerStartup.java
Core process
The main process is similar to NameServer startup
Create broker controllerStart the BrokerController
public static void main(String[] args) {
start(createBrokerController(args));
}
public static BrokerController start(BrokerController ...
Posted by Domhnall on Sat, 25 Sep 2021 12:15:14 +0200