RocketMQ Broadcast Consumption: Mechanics, Limitations, and Practical Usage
RocketMQ provides two distinct consumption models: clustering and broadcasting, each suited to different architectural requirements.
Core Behavioral Differences
Clustering mode: Messages from a topic are distributed across consumers within the same group—each message is processed by exactly one instance. This enables horizontal scaling and fa ...
Posted on Sat, 12 Sep 2026 16:11:48 +0000 by Amman-DJ
RocketMQ Transaction, Batch, and Delayed Messaging Implementation
Transactional Messaging
Core Concepts
Transactional messaging in RocketMQ implements the local transaction table pattern from distributed systems, substituting message middleware for database operations while handling status verification automatically.
Unlike Apache Kafka's transaction implementation focused on Exactly-Once semantics for stream ...
Posted on Sun, 23 Aug 2026 16:46:26 +0000 by shmeeg
Integrating Alibaba Cloud Commercial RocketMQ with Spring Boot
1. Prerequisites in Alibaba Cloud
Before integration, provision a commercial RocketMQ instance and create the flolowing resources:
Standard topic and consumer group for plain messages.
Dedicated delay topic and cosnumer group for scheduled/delay messages.
2. Project Structure
The example follows a typical Spring Boot project layout; configura ...
Posted on Tue, 11 Aug 2026 16:25:40 +0000 by devai
Deploying a Sharded RocketMQ Cluster on CentOS 7
This guide walks through building a 3-master–3-slave RocketMQ cluster on CentOS 7, including NameServer setup, broker configuration, and the optional web console.
Prerequisites
JDK 8 or newer
Maven 3.2+
Git
Note: RocketMQ expects /usr/local/jdk by default. If your JDK lives elsewhere, update the startup scripts.
Install RocketMQ
Download
wg ...
Posted on Mon, 27 Jul 2026 16:18:35 +0000 by andremta
RocketMQ Core Concepts and Implementation Guide
Message Queue Fundamentals
A message queue (MQ) serves as a data structure for storing messages in a first-in-first-out manner.
Key Functions of MQ Systems
Decoupling Applications: Enables independent development and deployment of services
Rapid System Updates: Facilitates quick modifications without system-wide impacts
Traffic Management: Han ...
Posted on Tue, 21 Jul 2026 16:19:49 +0000 by bugcoder
Practical Applications of Apache RocketMQ Messaging
Standard Message Types
RocketMQ supports three primary message sending modes, each balancing reliability and performance differently.
Synchronous Sending: The producer blocks until it receives an acknowledgment from the broker. This ensures high reliability but incurs latency.
Asynchronous Sending: The producer sends messages without waiting fo ...
Posted on Tue, 14 Jul 2026 16:49:15 +0000 by TaylorSandbek
Apache RocketMQ 4.9.8 Setup and ACL 1.0 Configuration
Downloading RocketMQ 4.9.8
Download the release package from the official reppository:
https://dist.apache.org/repos/dist/release/rocketmq/4.9.8/rocketmq-all-4.9.8-bin-release.zip
Extract it to a local directory such as: D:\dev\env\rocketmq-4.9.8
Configuring ACL 1.0 for Access Control
Official documentation: RocketMQ ACL Guide
- ACL 1.0 is dep ...
Posted on Wed, 01 Jul 2026 16:27:12 +0000 by pbeerman
Integrating RocketMQ with Spring Boot: A Deep Dive into Configuration and Source Code
Dependency Setup
To begin, include the starter dependency in your Maven project:
<dependency>
<groupId>org.apache.rocketmq</groupId>
<artifactId>rocketmq-spring-boot-starter</artifactId>
<version>2.2.3</version>
</dependency>
This dependency triggers Spring Boot’s auto-configurati ...
Posted on Thu, 25 Jun 2026 16:36:30 +0000 by MnilinM
Implementing Message Tracing in RocketMQ
Core Concepts
Message tracing captures the complete lifecycle of a message, including:
Producer send timestamp
Broker storage details
Consumer consumption events
Timing metrics at each stage
Configuration
Broker Setup
# Enable tracing in broker.conf
traceTopicEnable=true
Producer Implementation
public class MessageProducer {
private stat ...
Posted on Sat, 13 Jun 2026 17:29:59 +0000 by sinter4911
Containerized Deployment of Apache RocketMQ 4.9.2
Network Infrastructure Setup
To ensure the NameServer, Broker, and Console components can communicate, establish a dedicated Docker bridge network first.
docker network create rocketmq-net
NameServer Containerization
Dockerfile for NameServer
Create a file named Dockerfile.namesrv. This configuration uses OpenJDK 8 and sets up the environment ...
Posted on Sun, 07 Jun 2026 15:59:34 +0000 by jswash