Skip to content

alob-mtc/rabbitmq-nodejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RabbitMQ

A work through the official docs and tutorials of RabbitMQ(Message Broker) and a min project

asynchrons messageing

// 
//
//    +---+          +---+        +---+            +---+
//    | P |          | E |        |   |            | C |
//    | R |          | X |        | Q |            | O |
//    | O |          | C |        | U |            | N |
//    | D | --SEND-->| H |------->| E |--RECEIVE-->| S |
//    | U |          | A |        | U |            | U |
//    | C |          | N |        | E |            | M |
//    | E |          | G |        |   |            | E |
//    | R |          | E |        |   |            | R |
//    +---+          +---+        +---+            +---+
//
// 

Task

  1. - Hello World => The simplest thing that does something
  2. [] - Work queues => Distributing tasks among workers
  3. [] - Publish/Subscribe => Sending messages to many consumers at once
  4. [] - Routing => Receiving messages selectively
  5. [] - Topics => Receiving messages based on a pattern (topics)
  6. [] - RPC => Request/reply pattern example
  7. [] - Publisher Condirms => Reliable publishing with publisher confirms

  1. [] - complete the official docs
  2. [] - create a mini project(test out my understanding of the docs and tutorials)

Project

  • AMQP client library for Node.JS

intall script

npm install amqplib

Directory setup

producer(send.js) - queue - consumer(receive.js)

  • /hello-world
    • receive.js
    • send.jd

About

basic rabbitmq implementation in node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published