rethinkdb-job-queue is a persistent job/task queue backed by RethinkDB, designed for distributed worker nodes with pub/sub, concurrency, priority, retries, delayed jobs, timeouts, repeatable jobs, and job reanimation. The current stable version is 3.1.7. Release cadence is irregular; the project is maintained. Key differentiators from other job queues (e.g., Bull, Kue) include reliance on RethinkDB as the backing store (offering real-time changefeeds for pub/sub), built-in job history logs, and TypeScript definitions. It supports multiple queues per RethinkDB instance and global queue events.
npm install rethinkdb-job-queueNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows creating a queue with options, adding a job, processing jobs, and subscribing to error events.
Update constructor call to pass a single options object with `name` and `dbConfig` properties.
Use queue.process() to handle job completion and queue events for job lifecycle monitoring.
Use `queue.on('queue:processing', callback)` instead of `queue.on('start', callback)`.Ensure RethinkDB is started before creating the queue, or listen for 'queue:error' to catch connection issues.
Set `retryDelay` to the desired delay in milliseconds. For 10 seconds, use 10000.
Run `npm install rethinkdb-job-queue rethinkdbdash --save`.
Use `const Queue = require('rethinkdb-job-queue').default;`Start RethinkDB: `rethinkdb` or check dbConfig host/port.
Pass an Error object: `done(new Error('message'))` instead of `done({...})`.