Skip to content

0xmohitsen/Pub_Sub_RabbitMQ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Pub-Sub Implementation with RabbitMQ

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.

Getting Started

Prerequisites

  • Node.js installed on your local machine
  • RabbitMQ Server installed and running

Installation

  1. Clone the repository to your local machine:
git clone https://github.com/Mohitsen11/Pub_Sub_RabbitMQ.git
  1. Install project dependencies:
npm install
  1. Start the application:
npm run dev

Usage

  1. Once the application is running, it will utilize RabbitMQ to implement the pub-sub pattern.
  2. Publishers can send messages to specific topics (exchanges), while subscribers can listen to those topics to receive messages.
  3. Explore the application code to understand how RabbitMQ is integrated for pub-sub functionality.

Acknowledgments

  • RabbitMQ for providing a robust message broker solution
  • Node.js community for creating and maintaining the amqplib library

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published