@tabit/rabbitmq

4.0.3 • Public • Published

opinionated amqplib wrapper for Rabbit MQ

Why opinionated? Unless told otherwise, will:

  • always set a default prefetch of 100
  • always publish messages as persistent (and leave the amqplib default of setting all queues as durable)
  • consumer-friendly request-reply-queue implementation
  • and more...

Tracing:

  • To enable all traces, set the DEBUG environment variable to tabit:infra:rabbit:*
  • Additional more specific traces are also available (e.g., tabit:infra:rabbit:topology, etc)

Running tests:

Either use the available docker-compose to run on a container, OR

Install dependencies locally:

Then run mocha ./test

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 4.0.3
    493
    • latest

Version History

Package Sidebar

Install

npm i @tabit/rabbitmq

Weekly Downloads

500

Version

4.0.3

License

MIT

Unpacked Size

98.5 kB

Total Files

32

Last publish

Collaborators

  • shmuelwitman
  • joniba
  • shirbrunner
  • hofmann
  • orenagiv
  • nati-maskens
  • boaz.amit