RabbitMQ Cluster Deployment Methods: Multi-Node and Single-Host Configurations
Multi-Host Cluster Deployment (Standard Mode)
Environment Preparation
Prepare three machines with RabbitMQ installed (refer to installation documentation):
10.10.1.41
10.10.1.42
10.10.1.43
Tip: When using virtual machines, create a base VM with RabbitMQ installed, then use linked clones for efficiency.
Configuration Steps
Modify /etc/hosts o ...
Posted on Tue, 04 Aug 2026 16:49:12 +0000 by sl1m
Deploying ZooKeeper and Kafka Message Queue Clusters
Message Queue Fundamentals
Definition
A message queue serves as an inter-process communication mechanism that enables asynchronous data exchange between applications. Messages represent the data units transmitted between systems, while the queue provides a reliable delivery mechanism ensuring data integrity throughout the transfer process.
Core ...
Posted on Mon, 20 Jul 2026 17:15:34 +0000 by davidjam
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
Implementing High-Performance Message Queues in Java for Rebate Systems
Message Queue System Selection
When implementing message queues for rebate processing systems, several factors must be considered:
Performance: The system must support high throughput and low latency to handle concurrent operations and large data volumes
Reliability: Message persistence, retry mechanisms, and high availability ensure message d ...
Posted on Thu, 11 Jun 2026 18:36:03 +0000 by billborric
Implementing Message Producers and Consumers with RabbitMQ
Core concepts in RabbitMQ revolve around three fundamental components: producers that emit messages, consumers that receive them, and queues that store pending messages. A single queue can except messages from multiple producers and deliver them to multiple consumers, acting as a durable buffer limited only by available storage.
Producer Implem ...
Posted on Mon, 08 Jun 2026 17:14:00 +0000 by englishman69
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
Kafka Deployment, Basic Usage Guide and Common Troubleshooting for Ubuntu
Dedicated Service User Creation
Creating a dedicated Kafka runtime user isolates the service from your primary system account to avoid permission conflicts and environment pollusion. This step is optional but strongly recommended for production and test environments.
# Create dedicated kafka service user, you will be prompted to set a password ...
Posted on Fri, 29 May 2026 19:13:39 +0000 by bubblenut
11 Approaches to Implementing Delayed Tasks in Java
Delayed tasks are common in real-world applications, such as canceling orders after payment timeout or automatically confirming deliveries. This article analyzes 11 different ways to implement delayed tasks, from implementation to underlying principles. Each approach has its own strengths and suits different scenarios.
DelayQueue
DelayQueue is ...
Posted on Thu, 21 May 2026 19:27:12 +0000 by Bhaal
Installing and Configuring RabbitMQ with PHP AMQP Extension on Linux
System Dependency Installation
Install required system packages:
yum install ncurses-devel unixODBC unixODBC-devel xmlto libtool autoconf
Erlang Runtime Setup
Download and compile Erlang, which is required by RabbitMQ:
wget http://erlang.org/download/otp_src_18.1.tar.gz
tar -zxvf otp_src_18.1.tar.gz
cd otp_src_18.1
./configure --prefix=/usr/lo ...
Posted on Tue, 19 May 2026 03:44:30 +0000 by Janco
Configuring Multiple RabbitMQ Instances in a Single Spring Boot Application
1. Configuration File (application.yml)
spring:
rabbitmq:
primary:
host: localhost
port: 5672
username: guest
password: guest
virtualHost: /channel-demo
secondary:
host: 192.168.1.184
port: 5672
username: guest
password: guest
virtualHost: /third-party-test
2. Configuration ...
Posted on Mon, 18 May 2026 16:45:05 +0000 by friday_13