API Reference BullMQ v#2.0.2

View Source

Modules

BullMQ - A powerful, fast, and robust job queue for Elixir backed by Redis.

Database-agnostic contract describing every high-level operation that the BullMQ.Queue, BullMQ.Worker, BullMQ.Job, BullMQ.QueueEvents, BullMQ.FlowProducer and BullMQ.JobScheduler modules need in order to function.

PostgreSQL implementation of the BullMQ.Backend behaviour — the Elixir port of the Node.js PostgresQueueBackend.

Owns the PostgreSQL connection resources for the BullMQ Postgres backend, mirroring BullMQ.RedisConnection

Runs the PostgreSQL backend's schema migrations, mirroring the Node.js migrator.ts.

Loads the PostgreSQL backend's SQL from .sql files — the portable source of truth shared with the Node.js/Python/other ports.

Redis implementation of the BullMQ.Backend behaviour.

Backoff strategies for job retries.

Provides cooperative job cancellation for BullMQ workers.

Create job flows with parent-child dependencies.

Represents a job in a BullMQ queue.

Job scheduler for creating recurring jobs.

Redis key generation for BullMQ queues.

Manages lock renewal for BullMQ workers.

Queue management for BullMQ.

Subscribe to queue events in real-time.

Behaviour for queue event handlers.

Redis connection management for BullMQ.

Manages Lua scripts for BullMQ Redis operations.

Detects and handles stalled jobs.

Telemetry integration for BullMQ.

Behaviour for telemetry integrations in BullMQ.

OpenTelemetry adapter for BullMQ distributed tracing.

Type definitions for BullMQ.

BullMQ version information.

Worker process for processing BullMQ jobs.