BunnyBus is a high level enterprise bus implementation making pub/sub and queue management easy.
Currently supports the following queueing frameworks.
Lead Maintainer: Lam Chan
BunnyBus abstracts away low level queue driver details such as creating a connection, creating a channel, creating bindings, creating subscribing queues and etc. BunnyBus provides safe defaults for many setups which can also be configured. The core of BunnyBus implements native node callbacks providing maximum performance. BunnyBus provides two flavors of API for callbacks and Promise alike. The BunnyBus CLI can be found here implementing this core driver.
npm i bunnybus
Async / Await
const BunnyBus = ;const bunnyBus = ;//create a subscriptionawait bunnyBus;//publish to the above subscriptionbunnyBus;);
const BunnyBus = ;const bunnyBus = ;//create a subscriptionbunnyBus;
See the API Reference.
Check out the Examples.
Visual Guide to integrating with
We love community and contributions! Please check out our guidelines before making any PRs.
Setting up for development
- Install Docker
- Clone this project and
cdinto the project directory
- Run the commands below
npm install npm run start-docker npm test npm run stop-docker
For normal development/test iterations, there is no need to stop the docker container. When the docker container is already running, just run