Redis Streams Queue is a high-performance queue library built on Redis Streams, version 2.1.1. It offers reliable message delivery with consumer groups, exactly-once semantics, and built-in retries. Compared to Bull or Kue, it leverages Redis Streams' native features for better scalability and fault tolerance. The library is actively maintained with monthly releases.
npm install redis-streams-queueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating a queue, adding a message, and consuming with auto-acknowledgment using Redis client.
Swap argument order: Queue(client, name).
Always pass options object as second argument.
Use async/await and ensure ack() is awaited.
Convert to ESM (type: module) or use dynamic import().
Await client.connect() before instantiating Queue.
Use `new Queue(client, name)`.
Use import syntax or set type: module in package.json.
Ensure Queue.createGroup() is called or use Consumer with autoGroup: true.