Skip to content

PURISTA API


PURISTA API / @purista/core / DefinitionQueueBridgeConfig

Type Alias: DefinitionQueueBridgeConfig

DefinitionQueueBridgeConfig = object

Defined in: core/types/DefinitionQueueBridgeConfig.ts:8

Advisory settings for queue bridges. Similar to DefinitionEventBridgeConfig, these values are hints that individual bridge implementations may or may not be able to honor depending on their provider capabilities.

Properties

durable

durable: boolean

Defined in: core/types/DefinitionQueueBridgeConfig.ts:26

Whether the queue should persist jobs durably when no workers are available.


orderingGuarantee

orderingGuarantee: QueueOrderingGuarantee

Defined in: core/types/DefinitionQueueBridgeConfig.ts:13

Whether jobs must be processed in strict FIFO order, partitioned order (per key), or if the provider can deliver them without ordering guarantees.


prefetch

prefetch: number

Defined in: core/types/DefinitionQueueBridgeConfig.ts:17

Desired number of jobs a worker should prefetch/lease at once.


shared

shared: boolean

Defined in: core/types/DefinitionQueueBridgeConfig.ts:22

Hint whether multiple service instances share the workload (true) or if every instance should receive a copy (false).