/rabbitmq

Primary LanguageJavaScriptMIT LicenseMIT

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