Redis Queue Trigger icon

Redis Queue Trigger

Process jobs from a Redis-based queue. Automatically handles parallel processing per queue identifier while maintaining sequential order within each identifier. Requires Redis 6.0.6+.

Redis Queue Trigger

AI-generated

Summary

Trigger that listens to a Redis‑based queue, acquires a per‑identifier lock for each job, and emits the job data when the lock is obtained.

Inputs

None.

Output shape

object

Emits an object with the fields: callbackId, data, jobId, queueIdentifier, batchIndex, isFirstInBatch, isLastInBatch, queuePosition, isFirstInQueue.

Examples

Example 1: A workflow uses this trigger to process jobs added by a matching 'Redis Queue Add' node.

Set Callback ID to 'my-queue' (must match the Add node) and optionally adjust Polling Interval (ms) to control how often the trigger checks for new jobs when no lock is available.

Discussion