My situation requires that the next message will only start processing after the previous one finishes processing. (The message processing function is an async function).
itMQ fits my needs with Single Active Consumer functionality and by setting prefetch to 1. About Single Active Consumer
, but it cannot be installed via npm.
Are there any alternative queue systems that does this and can be installed via npm?
As my reply to @paulsm4 The reason I don't consider RabbitMQ at this moment is because I plan to deploy my app to Heroku and would like to keep it as simple as possible without the need to use a third party RabbitMQ addon. However, I will use Redis anyways so any library that depends on Redis is fine.