A work through the official docs and tutorials of RabbitMQ(Message Broker) and a min project
//
//
// +---+ +---+ +---+ +---+
// | 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 |
// +---+ +---+ +---+ +---+
//
//
- - Hello World => The simplest thing that does something
- [] - Work queues => Distributing tasks among workers
- [] - Publish/Subscribe => Sending messages to many consumers at once
- [] - Routing => Receiving messages selectively
- [] - Topics => Receiving messages based on a pattern (topics)
- [] - RPC => Request/reply pattern example
- [] - Publisher Condirms => Reliable publishing with publisher confirms
- [] - complete the official docs
- [] - create a mini project(test out my understanding of the docs and tutorials)
- AMQP client library for Node.JS
npm install amqplib
Directory setup
- /hello-world
- receive.js
- send.jd