Interface: QueueOptions
Defined in: glide-mq/src/types.ts:63
Extended by
Properties
client?
optional client?: Client;Defined in: glide-mq/src/types.ts:71
Pre-existing GLIDE client for non-blocking commands. When provided, the component does NOT own this client - close() will not destroy it. Must not be used for blocking reads (XREADGROUP BLOCK / XREAD BLOCK).
compression?
optional compression?: "none" | "gzip";Defined in: glide-mq/src/types.ts:76
Enable transparent compression of job data. Default: 'none'.
connection?
optional connection?: ConnectionOptions;Defined in: glide-mq/src/types.ts:65
Connection options for creating a new client. Required unless client is provided.
deadLetterQueue?
optional deadLetterQueue?: DeadLetterQueueOptions;Defined in: glide-mq/src/types.ts:74
Dead letter queue configuration. Jobs that exhaust retries are moved here.
events?
optional events?: boolean;Defined in: glide-mq/src/types.ts:87
Emit events (e.g., 'added') on the events stream when adding jobs. Default: true.
prefix?
optional prefix?: string;Defined in: glide-mq/src/types.ts:72
serializer?
optional serializer?: Serializer;Defined in: glide-mq/src/types.ts:85
Custom serializer for job data and return values. Default: JSON.
Important: The same serializer must be used across all Queue, Worker, and FlowProducer instances that operate on the same queue. A mismatch causes silent data corruption - the consumer will see {} and the job's deserializationFailed flag will be true.