IMQOptions.cluster property

Redis servers to spread this queue across. Supplying this — or IMQOptions.clusterManagers — makes IMQ.create() return a ClusteredRedisQueue.

Signature:

cluster?: IMessageQueueConnection[];

Remarks

Each entry carries its own host, port and optional id used for cluster-membership matching. Sends are distributed across the servers by health-aware round-robin, preferring ones whose connection is ready.

Note that per-entry username and password are currently ignored — the underlying queues authenticate with the top-level credentials.

Read this page as plain markdown — no HTML, no navigation. For pasting into an LLM, or for an agent to fetch.