This project demonstrates the implementation of the publisher-subscriber (pub-sub) pattern using RabbitMQ, a powerful message broker. The pub-sub pattern enables efficient communication between different components of an application by allowing publishers to send messages to specific topics (exchanges), which are then delivered to all subscribers listening to those topics.
- Node.js installed on your local machine
- RabbitMQ Server installed and running
- Clone the repository to your local machine:
git clone https://github.com/Mohitsen11/Pub_Sub_RabbitMQ.git
- Install project dependencies:
npm install
- Start the application:
npm run dev
- Once the application is running, it will utilize RabbitMQ to implement the pub-sub pattern.
- Publishers can send messages to specific topics (exchanges), while subscribers can listen to those topics to receive messages.
- Explore the application code to understand how RabbitMQ is integrated for pub-sub functionality.
- RabbitMQ for providing a robust message broker solution
- Node.js community for creating and maintaining the
amqplib
library