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

Implementing Priority and Lazy Queues in RabbitMQ

Priority Queuing Strategies In high-throughput systems, processing certain tasks ahead of others is critical. For instance, an order notification system might distinguish between VIP customers and standard users. Standard queues distribute messages based on arrival order (FIFO). To handle business-critical scenarios where specific messages requ ...

Posted on Thu, 14 May 2026 00:20:50 +0000 by lavender

Implementing Direct Exchanges in RabbitMQ with C#

RabbitMQ supports four exchange types: Direct, Fenout, Topic, and Header. This article demonstrates a C# implementation using the Direct exchange. Establish a connection to RabbitMQ using the following helper class: public class RabbitMqConnector { public IConnection EstablishConnection() { var connectionSettings = new Connectio ...

Posted on Mon, 11 May 2026 05:50:18 +0000 by F.Danials

Deploying and Operating Kafka with the wurstmeister/kafka Docker Image

Environment Setup Operating System: CentOS 7 Docker Version: 17.03.2-ce Docker Compose Version: 1.23.2 Docker Compose Configuration To deploy Kafka with Zookeeper, create a docker-compose.yml file with the following content. This configuration avoids common issues like build failures and connection errors. version: '2' services: zookeeper: ...

Posted on Thu, 07 May 2026 21:17:43 +0000 by TLawrence

Using RabbitMQ with Go: Synchronous vs Asynchronous Messaging and Common Patterns

Synchronous vs Asynchronous Communication In synchronous communication, the sender blocks until it receives a response from the receiver. This model ensures data integrity and is commonly used in scenarios like user authentication, order processing, database queries, financial transactions, and real-time feedback systems. Drawbacks include tigh ...

Posted on Thu, 07 May 2026 15:57:29 +0000 by daleks