Overview of the iii-queue worker
mainThe iii-queue worker provides asynchronous job processing with retries, configurable concurrency, FIFO ordering, and dead-letter (DLQ) support. It supports two modes of operation:
- Durable Pub/Sub (Topic-based): Every distinct function subscribed to a topic receives a copy of each message (fan-out). Use the
durable:subscribertrigger to register consumers. - Named Queues: Targeted by enqueuing a function call directly using
TriggerAction.Enqueue. No trigger registration is required; the target function acts as the consumer.
Supported Adapters
builtin: In-process (in_memoryorfile_based). Best for local development or single-instance setups. Supports retries, DLQ, and FIFO.rabbitmq: Best for multi-instance production environments. Supports durable delivery, retries, and DLQ.redis: Multi-instance topic pub/sub only. It can publish to named queues, but does not implement named-queue consumption, retries, or DLQ.