Inspiration
The necessity to have a working notification system to bind a consumer to each queue.
What it does
Ideally, each consumer receives messages from the queue it’s bound to and broadcasts the message received to the users.
How we built it
Because we have three queues, three methods were created to subscribe to messages in hr, marketing, and support queues.
Challenges we ran into
Modifying the consumer script to accept one of three command line arguments: hr, marketing, or support was tricky to accomplish the task.
Accomplishments that we're proud of
Simulated a scenario where the consumer subscribes to messages in the hr, marketing, and support queues.
What we learned
Learned how to create a 1-to-1 mapping between queues and consumers.
What's next for slack notifications system
Use the knowledge learned here to implement a notifications system for my eCommerce web app.
Built With
- lavinmq
- node.js
Log in or sign up for Devpost to join the conversation.