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
RocketMQ Fundamentals: Installation, Messaging Patterns, and Core Features
Overview
===========
MQ (Message Queue) is a mechanism for storing and distributing message data in a structured queue format. A queue, as a fundamental data structure, follows the First-In-First-Out (FIFO) principle.
Purpose of Message Queues
============================
Application decoupling (essential for distributed systems)
Facilitat ...
Posted on Mon, 11 May 2026 08:59:27 +0000 by MattMan