@breadstone/archipel-mcp 0.0.23 → 0.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/data/guides/caching.md +33 -0
- package/data/guides/email-delivery.md +27 -1
- package/data/guides/esigning-integration.md +11 -5
- package/data/guides/health-indicators.md +220 -0
- package/data/guides/index.md +2 -0
- package/data/guides/queue-infrastructure.md +329 -0
- package/data/guides/telemetry-and-observability.md +20 -0
- package/data/packages/platform-analytics/api/Class.AnalyticsClientPort.md +20 -0
- package/data/packages/platform-analytics/api/Class.AnalyticsHealthIndicator.md +78 -0
- package/data/packages/platform-analytics/api/Class.AppInsightsAnalyticsClient.md +24 -0
- package/data/packages/platform-analytics/api/Class.DatadogAnalyticsClient.md +24 -0
- package/data/packages/platform-analytics/api/Class.NoopAnalyticsClient.md +24 -0
- package/data/packages/platform-analytics/api/Class.SentryAnalyticsClient.md +24 -0
- package/data/packages/platform-analytics/api/index.md +1 -0
- package/data/packages/platform-analytics/index.md +25 -1
- package/data/packages/platform-authentication/api/Class.AuthenticationHealthIndicator.md +68 -0
- package/data/packages/platform-authentication/api/index.md +1 -0
- package/data/packages/platform-authentication/index.md +25 -1
- package/data/packages/platform-blob-storage/api/Class.BlobHealthIndicator.md +7 -7
- package/data/packages/platform-blob-storage/api/Class.BlobModule.md +2 -2
- package/data/packages/platform-blob-storage/api/Interface.IAwsS3BlobProviderRegistration.md +3 -3
- package/data/packages/platform-blob-storage/api/Interface.IAzureBlobProviderRegistration.md +3 -3
- package/data/packages/platform-blob-storage/api/Interface.IBlobModuleOptions.md +5 -5
- package/data/packages/platform-blob-storage/api/Interface.ICustomBlobProviderRegistration.md +3 -3
- package/data/packages/platform-blob-storage/api/Interface.IVercelBlobProviderRegistration.md +3 -3
- package/data/packages/platform-blob-storage/api/TypeAlias.IBlobProviderRegistration.md +1 -1
- package/data/packages/platform-blob-storage/api/index.md +1 -1
- package/data/packages/platform-blob-storage/index.md +19 -14
- package/data/packages/platform-caching/api/Class.MemoryLayeredCache.md +10 -10
- package/data/packages/platform-caching/api/Class.NoopCacheMetricsRecorder.md +6 -6
- package/data/packages/platform-caching/api/Class.RedisLayeredCache.md +10 -10
- package/data/packages/platform-caching/api/Interface.ILayeredCache.md +9 -9
- package/data/packages/platform-caching/api/Interface.ILayeredCacheOptions.md +6 -6
- package/data/packages/platform-caching/api/Variable.CACHE_DEFAULT_TTL_MS.md +14 -0
- package/data/packages/platform-caching/api/Variable.CACHE_MAX_ENTRIES.md +14 -0
- package/data/packages/platform-caching/api/Variable.CACHE_STALE_WHILE_REVALIDATE.md +14 -0
- package/data/packages/platform-caching/api/Variable.PLATFORM_CACHING_CONFIG_ENTRIES.md +14 -0
- package/data/packages/platform-caching/api/Variable.REDIS_CONFIG_ENTRIES.md +14 -0
- package/data/packages/platform-caching/api/Variable.REDIS_KEY_PREFIX.md +14 -0
- package/data/packages/platform-caching/api/Variable.REDIS_TTL_SECONDS.md +14 -0
- package/data/packages/platform-caching/api/Variable.REDIS_URL.md +14 -0
- package/data/packages/platform-caching/api/index.md +13 -0
- package/data/packages/platform-caching/index.md +47 -1
- package/data/packages/platform-configuration/api/Function.createConfigKey.md +1 -1
- package/data/packages/platform-core/api/Class.HttpLoggerMiddleware.md +3 -3
- package/data/packages/platform-core/api/Function.maskSensitive.md +26 -0
- package/data/packages/platform-core/api/Function.maskSensitiveFields.md +26 -0
- package/data/packages/platform-core/api/index.md +2 -0
- package/data/packages/platform-core/index.md +11 -0
- package/data/packages/platform-database/api/Class.DatabaseHealthIndicator.md +8 -6
- package/data/packages/platform-database/api/Class.DatabaseModule.md +3 -3
- package/data/packages/platform-database/api/Class.RepositoryBase.md +20 -20
- package/data/packages/platform-database/api/Function.paginator.md +1 -1
- package/data/packages/platform-database/api/Interface.IDatabaseModuleConfig.md +3 -3
- package/data/packages/platform-database/api/TypeAlias.DelegateArgs.md +1 -1
- package/data/packages/platform-database/api/TypeAlias.DelegateReturnTypes.md +1 -1
- package/data/packages/platform-database/api/TypeAlias.PaginateFunction.md +1 -1
- package/data/packages/platform-database/api/Variable.DATABASE_MODULE_CONFIG.md +1 -1
- package/data/packages/platform-database/index.md +17 -5
- package/data/packages/platform-documents/api/Class.DocumentEngine.md +9 -5
- package/data/packages/platform-documents/index.md +1 -1
- package/data/packages/platform-esigning/api/Class.AdobeSignEsigningProvider.md +24 -0
- package/data/packages/platform-esigning/api/Class.DocuSignEsigningProvider.md +24 -0
- package/data/packages/platform-esigning/api/Class.DropboxSignEsigningProvider.md +24 -0
- package/data/packages/platform-esigning/api/Class.EsigningClientPort.md +20 -0
- package/data/packages/platform-esigning/api/Class.EsigningHealthIndicator.md +78 -0
- package/data/packages/platform-esigning/api/Class.InternalEsigningProvider.md +24 -0
- package/data/packages/platform-esigning/api/index.md +1 -0
- package/data/packages/platform-esigning/index.md +26 -2
- package/data/packages/platform-health/api/Class.HealthModule.md +42 -0
- package/data/packages/platform-health/api/Class.HealthOrchestrator.md +64 -0
- package/data/packages/platform-health/api/Interface.IHealthCheckResult.md +46 -0
- package/data/packages/platform-health/api/Interface.IHealthIndicator.md +41 -0
- package/data/packages/platform-health/api/Variable.HEALTH_INDICATORS_TOKEN.md +14 -0
- package/data/packages/platform-health/api/index.md +26 -0
- package/data/packages/platform-health/index.md +18 -7
- package/data/packages/platform-intelligence/api/Class.IntelligenceHealthIndicator.md +78 -0
- package/data/packages/platform-intelligence/api/index.md +1 -0
- package/data/packages/platform-intelligence/index.md +24 -1
- package/data/packages/platform-logging/api/Class.ContextLogger.md +152 -0
- package/data/packages/platform-logging/api/Class.LoggerModule.md +8 -2
- package/data/packages/platform-logging/api/Class.RequestContextStore.md +90 -0
- package/data/packages/platform-logging/api/Class.RequestIdMiddleware.md +68 -0
- package/data/packages/platform-logging/api/Interface.IRequestContext.md +34 -0
- package/data/packages/platform-logging/api/Variable.REQUEST_ID_HEADER.md +14 -0
- package/data/packages/platform-logging/api/index.md +11 -1
- package/data/packages/platform-logging/index.md +89 -7
- package/data/packages/platform-mailing/api/Class.MailHealthIndicator.md +5 -5
- package/data/packages/platform-mailing/api/Class.MailModule.md +28 -1
- package/data/packages/platform-mailing/api/Class.MailVerificationService.md +49 -16
- package/data/packages/platform-mailing/api/Class.SmtpConnectionVerifier.md +84 -0
- package/data/packages/platform-mailing/api/Interface.IMailModuleOptions.md +36 -0
- package/data/packages/platform-mailing/api/index.md +3 -1
- package/data/packages/platform-mailing/index.md +64 -8
- package/data/packages/platform-mapping/api/Class.MappingBuilder.md +110 -0
- package/data/packages/platform-mapping/api/Class.MappingError.md +56 -0
- package/data/packages/platform-mapping/api/Class.MappingModule.md +46 -0
- package/data/packages/platform-mapping/api/Class.MappingNotRegisteredError.md +52 -0
- package/data/packages/platform-mapping/api/Class.MappingProfileBase.md +52 -0
- package/data/packages/platform-mapping/api/Class.MappingService.md +284 -0
- package/data/packages/platform-mapping/api/Class.TypeMappingNotRegisteredError.md +53 -0
- package/data/packages/platform-mapping/api/Function.createMappingKey.md +39 -0
- package/data/packages/platform-mapping/api/Interface.IMappingBuilder.md +76 -0
- package/data/packages/platform-mapping/api/Interface.IMappingKey.md +58 -0
- package/data/packages/platform-mapping/api/Interface.IMappingProfile.md +32 -0
- package/data/packages/platform-mapping/api/TypeAlias.Constructor.md +28 -0
- package/data/packages/platform-mapping/api/index.md +38 -0
- package/data/packages/platform-mcp/api/Class.McpHealthIndicator.md +78 -0
- package/data/packages/platform-mcp/api/index.md +1 -0
- package/data/packages/platform-mcp/index.md +24 -1
- package/data/packages/platform-openapi/api/Function.SwaggerFeature.md +2 -2
- package/data/packages/platform-openapi/api/Function.getSwaggerFeatureMetadata.md +2 -2
- package/data/packages/platform-payments/api/Class.LemonSqueezyClient.md +24 -0
- package/data/packages/platform-payments/api/Class.MollieClient.md +24 -0
- package/data/packages/platform-payments/api/Class.PaddleClient.md +24 -0
- package/data/packages/platform-payments/api/Class.PaymentClientPort.md +20 -0
- package/data/packages/platform-payments/api/Class.PaymentHealthIndicator.md +78 -0
- package/data/packages/platform-payments/api/Class.StripeClient.md +28 -4
- package/data/packages/platform-payments/api/index.md +1 -0
- package/data/packages/platform-payments/index.md +26 -2
- package/data/packages/platform-queue/api/Class.AzureQueue.md +221 -0
- package/data/packages/platform-queue/api/Class.BullMqQueue.md +220 -0
- package/data/packages/platform-queue/api/Class.MemoryQueue.md +194 -0
- package/data/packages/platform-queue/api/Class.QueueError.md +51 -0
- package/data/packages/platform-queue/api/Class.QueueHealthIndicator.md +68 -0
- package/data/packages/platform-queue/api/Class.QueueJobNotFoundError.md +43 -0
- package/data/packages/platform-queue/api/Class.QueueJobStateError.md +48 -0
- package/data/packages/platform-queue/api/Class.QueueValidationError.md +43 -0
- package/data/packages/platform-queue/api/Interface.IAzureQueueOptions.md +48 -0
- package/data/packages/platform-queue/api/Interface.IBullMqQueueOptions.md +45 -0
- package/data/packages/platform-queue/api/Interface.IMemoryQueueOptions.md +32 -0
- package/data/packages/platform-queue/api/Interface.IQueue.md +173 -0
- package/data/packages/platform-queue/api/Interface.IQueueJob.md +139 -0
- package/data/packages/platform-queue/api/TypeAlias.QueueJobStatus.md +14 -0
- package/data/packages/platform-queue/api/Variable.AZURE_CONFIG_ENTRIES.md +17 -0
- package/data/packages/platform-queue/api/Variable.AZURE_CONNECTION_STRING.md +14 -0
- package/data/packages/platform-queue/api/Variable.AZURE_RECEIVE_WAIT_MS.md +21 -0
- package/data/packages/platform-queue/api/Variable.BULLMQ_CONFIG_ENTRIES.md +17 -0
- package/data/packages/platform-queue/api/Variable.BULLMQ_PREFIX.md +18 -0
- package/data/packages/platform-queue/api/Variable.BULLMQ_REDIS_URL.md +21 -0
- package/data/packages/platform-queue/api/Variable.PLATFORM_QUEUE_CONFIG_ENTRIES.md +17 -0
- package/data/packages/platform-queue/api/Variable.QUEUE_JOB_STATUS.md +30 -0
- package/data/packages/platform-queue/api/Variable.QUEUE_MAX_JOBS.md +21 -0
- package/data/packages/platform-queue/api/index.md +49 -0
- package/data/packages/platform-queue/index.md +168 -0
- package/data/packages/platform-resources/api/Class.BlobResourceStrategy.md +195 -0
- package/data/packages/platform-resources/api/Class.EmbeddedResourceStrategy.md +215 -0
- package/data/packages/platform-resources/api/Class.FileResourceStrategy.md +190 -0
- package/data/packages/platform-resources/api/Class.ResourceManager.md +477 -0
- package/data/packages/platform-resources/api/Class.ResourceModule.md +46 -0
- package/data/packages/platform-resources/api/Class.ResourceNotFoundError.md +60 -0
- package/data/packages/platform-resources/api/Interface.IBlobResourceStrategyConfig.md +28 -0
- package/data/packages/platform-resources/api/Interface.IBlobServiceAdapter.md +40 -0
- package/data/packages/platform-resources/api/Interface.IFileResourceStrategyConfig.md +72 -0
- package/data/packages/platform-resources/api/Interface.IResourceManagerConfig.md +89 -0
- package/data/packages/platform-resources/api/Interface.IResourceMetadata.md +94 -0
- package/data/packages/platform-resources/api/Interface.IResourceResult.md +34 -0
- package/data/packages/platform-resources/api/Interface.IResourceStrategy.md +134 -0
- package/data/packages/platform-resources/api/index.md +29 -0
- package/data/packages/platform-telemetry/api/Class.OtelSdkHolder.md +20 -2
- package/data/packages/platform-telemetry/api/Class.TelemetryHealthIndicator.md +78 -0
- package/data/packages/platform-telemetry/api/index.md +1 -0
- package/data/packages/platform-telemetry/index.md +25 -1
- package/data/patterns/config-pattern.md +3 -1
- package/package.json +1 -1
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 'Interface: IBullMqQueueOptions'
|
|
3
|
+
generated: true
|
|
4
|
+
editUrl: false
|
|
5
|
+
---
|
|
6
|
+
# Interface: IBullMqQueueOptions
|
|
7
|
+
|
|
8
|
+
Defined in: [bullmq/BullMqQueue.ts:20](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/bullmq/BullMqQueue.ts#L20)
|
|
9
|
+
|
|
10
|
+
Configuration options for [BullMqQueue](Class.BullMqQueue).
|
|
11
|
+
|
|
12
|
+
## Properties
|
|
13
|
+
|
|
14
|
+
### prefix?
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
optional prefix?: string;
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Defined in: [bullmq/BullMqQueue.ts:37](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/bullmq/BullMqQueue.ts#L37)
|
|
21
|
+
|
|
22
|
+
Optional prefix applied to all BullMQ queue keys in Redis.
|
|
23
|
+
|
|
24
|
+
#### Default Value
|
|
25
|
+
|
|
26
|
+
`''`
|
|
27
|
+
|
|
28
|
+
***
|
|
29
|
+
|
|
30
|
+
### redisUrl
|
|
31
|
+
|
|
32
|
+
```ts
|
|
33
|
+
redisUrl: string;
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
Defined in: [bullmq/BullMqQueue.ts:29](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/bullmq/BullMqQueue.ts#L29)
|
|
37
|
+
|
|
38
|
+
Redis connection URL.
|
|
39
|
+
|
|
40
|
+
#### Example
|
|
41
|
+
|
|
42
|
+
```ts
|
|
43
|
+
`redis://localhost:6379`
|
|
44
|
+
@public
|
|
45
|
+
```
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 'Interface: IMemoryQueueOptions'
|
|
3
|
+
generated: true
|
|
4
|
+
editUrl: false
|
|
5
|
+
---
|
|
6
|
+
# Interface: IMemoryQueueOptions
|
|
7
|
+
|
|
8
|
+
Defined in: [memory/MemoryQueue.ts:17](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/memory/MemoryQueue.ts#L17)
|
|
9
|
+
|
|
10
|
+
Configuration options for [MemoryQueue](Class.MemoryQueue).
|
|
11
|
+
|
|
12
|
+
## Properties
|
|
13
|
+
|
|
14
|
+
### maxJobs?
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
optional maxJobs?: number;
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Defined in: [memory/MemoryQueue.ts:29](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/memory/MemoryQueue.ts#L29)
|
|
21
|
+
|
|
22
|
+
Maximum number of jobs retained across all queues.
|
|
23
|
+
|
|
24
|
+
When the limit is exceeded, the oldest completed or failed jobs
|
|
25
|
+
are evicted first. Defaults to `10_000`.
|
|
26
|
+
|
|
27
|
+
#### Default Value
|
|
28
|
+
|
|
29
|
+
```ts
|
|
30
|
+
10_000
|
|
31
|
+
@public
|
|
32
|
+
```
|
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 'Interface: IQueue\<TPayload\>'
|
|
3
|
+
generated: true
|
|
4
|
+
editUrl: false
|
|
5
|
+
---
|
|
6
|
+
# Interface: IQueue\<TPayload\>
|
|
7
|
+
|
|
8
|
+
Defined in: [interfaces/IQueue.ts:23](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/interfaces/IQueue.ts#L23)
|
|
9
|
+
|
|
10
|
+
Contract for queue implementations.
|
|
11
|
+
|
|
12
|
+
Provides FIFO job enqueue/dequeue, status transitions, and listing.
|
|
13
|
+
Implementations may be in-memory, Redis-backed, or cloud-service-backed.
|
|
14
|
+
|
|
15
|
+
## Remarks
|
|
16
|
+
|
|
17
|
+
All methods are asynchronous and return [IQueueJob](Interface.IQueueJob) instances.
|
|
18
|
+
Errors are signalled via domain-specific exceptions:
|
|
19
|
+
- [QueueValidationError](Class.QueueValidationError) for invalid input.
|
|
20
|
+
- [QueueJobNotFoundError](Class.QueueJobNotFoundError) when a job ID cannot be resolved.
|
|
21
|
+
- [QueueJobStateError](Class.QueueJobStateError) when a job is in the wrong state for a transition.
|
|
22
|
+
|
|
23
|
+
## Type Parameters
|
|
24
|
+
|
|
25
|
+
| Type Parameter | Default type | Description |
|
|
26
|
+
| ------ | ------ | ------ |
|
|
27
|
+
| `TPayload` | `unknown` | The default payload type for jobs in this queue. Defaults to `unknown`. |
|
|
28
|
+
|
|
29
|
+
## Methods
|
|
30
|
+
|
|
31
|
+
### dequeue()
|
|
32
|
+
|
|
33
|
+
```ts
|
|
34
|
+
dequeue(queueName): Promise<IQueueJob<unknown> | null>;
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
Defined in: [interfaces/IQueue.ts:45](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/interfaces/IQueue.ts#L45)
|
|
38
|
+
|
|
39
|
+
Dequeues the next pending job from the named queue.
|
|
40
|
+
|
|
41
|
+
The returned job transitions to `processing` status.
|
|
42
|
+
|
|
43
|
+
#### Parameters
|
|
44
|
+
|
|
45
|
+
| Parameter | Type | Description |
|
|
46
|
+
| ------ | ------ | ------ |
|
|
47
|
+
| `queueName` | `string` | The name of the queue to dequeue from. |
|
|
48
|
+
|
|
49
|
+
#### Returns
|
|
50
|
+
|
|
51
|
+
`Promise`\<[`IQueueJob`](Interface.IQueueJob)\<`unknown`\> \| `null`\>
|
|
52
|
+
|
|
53
|
+
The next pending job, or `null` if the queue is empty.
|
|
54
|
+
|
|
55
|
+
***
|
|
56
|
+
|
|
57
|
+
### enqueue()
|
|
58
|
+
|
|
59
|
+
```ts
|
|
60
|
+
enqueue<T>(queueName, payload): Promise<IQueueJob<T>>;
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
Defined in: [interfaces/IQueue.ts:34](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/interfaces/IQueue.ts#L34)
|
|
64
|
+
|
|
65
|
+
Enqueues a new job into the named queue.
|
|
66
|
+
|
|
67
|
+
#### Type Parameters
|
|
68
|
+
|
|
69
|
+
| Type Parameter | Default type |
|
|
70
|
+
| ------ | ------ |
|
|
71
|
+
| `T` | `TPayload` |
|
|
72
|
+
|
|
73
|
+
#### Parameters
|
|
74
|
+
|
|
75
|
+
| Parameter | Type | Description |
|
|
76
|
+
| ------ | ------ | ------ |
|
|
77
|
+
| `queueName` | `string` | The name of the target queue. |
|
|
78
|
+
| `payload` | `T` | The job payload. |
|
|
79
|
+
|
|
80
|
+
#### Returns
|
|
81
|
+
|
|
82
|
+
`Promise`\<[`IQueueJob`](Interface.IQueueJob)\<`T`\>\>
|
|
83
|
+
|
|
84
|
+
The created job in `pending` status.
|
|
85
|
+
|
|
86
|
+
***
|
|
87
|
+
|
|
88
|
+
### getJobs()
|
|
89
|
+
|
|
90
|
+
```ts
|
|
91
|
+
getJobs(queueName): Promise<readonly IQueueJob<unknown>[]>;
|
|
92
|
+
```
|
|
93
|
+
|
|
94
|
+
Defined in: [interfaces/IQueue.ts:77](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/interfaces/IQueue.ts#L77)
|
|
95
|
+
|
|
96
|
+
Returns all jobs for the given queue in insertion order.
|
|
97
|
+
|
|
98
|
+
#### Parameters
|
|
99
|
+
|
|
100
|
+
| Parameter | Type | Description |
|
|
101
|
+
| ------ | ------ | ------ |
|
|
102
|
+
| `queueName` | `string` | The name of the queue. |
|
|
103
|
+
|
|
104
|
+
#### Returns
|
|
105
|
+
|
|
106
|
+
`Promise`\<readonly [`IQueueJob`](Interface.IQueueJob)\<`unknown`\>[]\>
|
|
107
|
+
|
|
108
|
+
An array of jobs, possibly empty.
|
|
109
|
+
|
|
110
|
+
***
|
|
111
|
+
|
|
112
|
+
### markCompleted()
|
|
113
|
+
|
|
114
|
+
```ts
|
|
115
|
+
markCompleted(jobId): Promise<IQueueJob<unknown>>;
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
Defined in: [interfaces/IQueue.ts:56](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/interfaces/IQueue.ts#L56)
|
|
119
|
+
|
|
120
|
+
Marks a processing job as completed.
|
|
121
|
+
|
|
122
|
+
#### Parameters
|
|
123
|
+
|
|
124
|
+
| Parameter | Type | Description |
|
|
125
|
+
| ------ | ------ | ------ |
|
|
126
|
+
| `jobId` | `string` | The ID of the job to complete. |
|
|
127
|
+
|
|
128
|
+
#### Returns
|
|
129
|
+
|
|
130
|
+
`Promise`\<[`IQueueJob`](Interface.IQueueJob)\<`unknown`\>\>
|
|
131
|
+
|
|
132
|
+
The updated job in `completed` status.
|
|
133
|
+
|
|
134
|
+
#### Throws
|
|
135
|
+
|
|
136
|
+
[QueueJobNotFoundError](Class.QueueJobNotFoundError) When no job with the given ID exists.
|
|
137
|
+
|
|
138
|
+
#### Throws
|
|
139
|
+
|
|
140
|
+
[QueueJobStateError](Class.QueueJobStateError) When the job is not in `processing` status.
|
|
141
|
+
|
|
142
|
+
***
|
|
143
|
+
|
|
144
|
+
### markFailed()
|
|
145
|
+
|
|
146
|
+
```ts
|
|
147
|
+
markFailed(jobId, errorMessage): Promise<IQueueJob<unknown>>;
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
Defined in: [interfaces/IQueue.ts:68](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/interfaces/IQueue.ts#L68)
|
|
151
|
+
|
|
152
|
+
Marks a processing job as failed.
|
|
153
|
+
|
|
154
|
+
#### Parameters
|
|
155
|
+
|
|
156
|
+
| Parameter | Type | Description |
|
|
157
|
+
| ------ | ------ | ------ |
|
|
158
|
+
| `jobId` | `string` | The ID of the job to mark as failed. |
|
|
159
|
+
| `errorMessage` | `string` | A human-readable error message. |
|
|
160
|
+
|
|
161
|
+
#### Returns
|
|
162
|
+
|
|
163
|
+
`Promise`\<[`IQueueJob`](Interface.IQueueJob)\<`unknown`\>\>
|
|
164
|
+
|
|
165
|
+
The updated job in `failed` status.
|
|
166
|
+
|
|
167
|
+
#### Throws
|
|
168
|
+
|
|
169
|
+
[QueueJobNotFoundError](Class.QueueJobNotFoundError) When no job with the given ID exists.
|
|
170
|
+
|
|
171
|
+
#### Throws
|
|
172
|
+
|
|
173
|
+
[QueueJobStateError](Class.QueueJobStateError) When the job is not in `processing` status.
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 'Interface: IQueueJob\<TPayload\>'
|
|
3
|
+
generated: true
|
|
4
|
+
editUrl: false
|
|
5
|
+
---
|
|
6
|
+
# Interface: IQueueJob\<TPayload\>
|
|
7
|
+
|
|
8
|
+
Defined in: [models/IQueueJob.ts:37](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/models/IQueueJob.ts#L37)
|
|
9
|
+
|
|
10
|
+
Represents a job in a named queue with tracking metadata.
|
|
11
|
+
|
|
12
|
+
All queue implementations return objects conforming to this interface,
|
|
13
|
+
making it the unified exchange type between producers and consumers.
|
|
14
|
+
|
|
15
|
+
## Type Parameters
|
|
16
|
+
|
|
17
|
+
| Type Parameter | Default type | Description |
|
|
18
|
+
| ------ | ------ | ------ |
|
|
19
|
+
| `TPayload` | `unknown` | The type of the job payload. Defaults to `unknown`. |
|
|
20
|
+
|
|
21
|
+
## Properties
|
|
22
|
+
|
|
23
|
+
### attempts
|
|
24
|
+
|
|
25
|
+
```ts
|
|
26
|
+
readonly attempts: number;
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Defined in: [models/IQueueJob.ts:51](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/models/IQueueJob.ts#L51)
|
|
30
|
+
|
|
31
|
+
Number of processing attempts.
|
|
32
|
+
|
|
33
|
+
***
|
|
34
|
+
|
|
35
|
+
### completedAt
|
|
36
|
+
|
|
37
|
+
```ts
|
|
38
|
+
readonly completedAt: Date | null;
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Defined in: [models/IQueueJob.ts:60](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/models/IQueueJob.ts#L60)
|
|
42
|
+
|
|
43
|
+
Timestamp when the job completed successfully.
|
|
44
|
+
|
|
45
|
+
***
|
|
46
|
+
|
|
47
|
+
### createdAt
|
|
48
|
+
|
|
49
|
+
```ts
|
|
50
|
+
readonly createdAt: Date;
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
Defined in: [models/IQueueJob.ts:54](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/models/IQueueJob.ts#L54)
|
|
54
|
+
|
|
55
|
+
Timestamp when the job was created.
|
|
56
|
+
|
|
57
|
+
***
|
|
58
|
+
|
|
59
|
+
### errorMessage
|
|
60
|
+
|
|
61
|
+
```ts
|
|
62
|
+
readonly errorMessage: string | null;
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
Defined in: [models/IQueueJob.ts:66](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/models/IQueueJob.ts#L66)
|
|
66
|
+
|
|
67
|
+
Error message from the last failure, if any.
|
|
68
|
+
|
|
69
|
+
***
|
|
70
|
+
|
|
71
|
+
### failedAt
|
|
72
|
+
|
|
73
|
+
```ts
|
|
74
|
+
readonly failedAt: Date | null;
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
Defined in: [models/IQueueJob.ts:63](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/models/IQueueJob.ts#L63)
|
|
78
|
+
|
|
79
|
+
Timestamp when the job last failed.
|
|
80
|
+
|
|
81
|
+
***
|
|
82
|
+
|
|
83
|
+
### id
|
|
84
|
+
|
|
85
|
+
```ts
|
|
86
|
+
readonly id: string;
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
Defined in: [models/IQueueJob.ts:39](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/models/IQueueJob.ts#L39)
|
|
90
|
+
|
|
91
|
+
Unique job identifier.
|
|
92
|
+
|
|
93
|
+
***
|
|
94
|
+
|
|
95
|
+
### payload
|
|
96
|
+
|
|
97
|
+
```ts
|
|
98
|
+
readonly payload: TPayload;
|
|
99
|
+
```
|
|
100
|
+
|
|
101
|
+
Defined in: [models/IQueueJob.ts:45](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/models/IQueueJob.ts#L45)
|
|
102
|
+
|
|
103
|
+
The job payload.
|
|
104
|
+
|
|
105
|
+
***
|
|
106
|
+
|
|
107
|
+
### queueName
|
|
108
|
+
|
|
109
|
+
```ts
|
|
110
|
+
readonly queueName: string;
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
Defined in: [models/IQueueJob.ts:42](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/models/IQueueJob.ts#L42)
|
|
114
|
+
|
|
115
|
+
Name of the queue this job belongs to.
|
|
116
|
+
|
|
117
|
+
***
|
|
118
|
+
|
|
119
|
+
### startedAt
|
|
120
|
+
|
|
121
|
+
```ts
|
|
122
|
+
readonly startedAt: Date | null;
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
Defined in: [models/IQueueJob.ts:57](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/models/IQueueJob.ts#L57)
|
|
126
|
+
|
|
127
|
+
Timestamp when the job was last picked up for processing.
|
|
128
|
+
|
|
129
|
+
***
|
|
130
|
+
|
|
131
|
+
### status
|
|
132
|
+
|
|
133
|
+
```ts
|
|
134
|
+
readonly status: QueueJobStatus;
|
|
135
|
+
```
|
|
136
|
+
|
|
137
|
+
Defined in: [models/IQueueJob.ts:48](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/models/IQueueJob.ts#L48)
|
|
138
|
+
|
|
139
|
+
Current status of the job.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 'Type Alias: QueueJobStatus'
|
|
3
|
+
generated: true
|
|
4
|
+
editUrl: false
|
|
5
|
+
---
|
|
6
|
+
# Type Alias: QueueJobStatus
|
|
7
|
+
|
|
8
|
+
```ts
|
|
9
|
+
type QueueJobStatus = typeof QUEUE_JOB_STATUS[keyof typeof QUEUE_JOB_STATUS];
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Defined in: [models/IQueueJob.ts:26](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/models/IQueueJob.ts#L26)
|
|
13
|
+
|
|
14
|
+
Union type derived from [QUEUE\_JOB\_STATUS](Variable.QUEUE_JOB_STATUS).
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 'Variable: AZURE\_CONFIG\_ENTRIES'
|
|
3
|
+
generated: true
|
|
4
|
+
editUrl: false
|
|
5
|
+
---
|
|
6
|
+
# Variable: AZURE\_CONFIG\_ENTRIES
|
|
7
|
+
|
|
8
|
+
```ts
|
|
9
|
+
const AZURE_CONFIG_ENTRIES: ReadonlyArray<Omit<IConfigRegistryEntry, "module">>;
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Defined in: [azure/env.ts:38](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/azure/env.ts#L38)
|
|
13
|
+
|
|
14
|
+
All configuration entries required by the Azure queue provider.
|
|
15
|
+
|
|
16
|
+
Pass this array to the module's `register()` method so that the
|
|
17
|
+
configuration service validates and provides the values at startup.
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 'Variable: AZURE\_CONNECTION\_STRING'
|
|
3
|
+
generated: true
|
|
4
|
+
editUrl: false
|
|
5
|
+
---
|
|
6
|
+
# Variable: AZURE\_CONNECTION\_STRING
|
|
7
|
+
|
|
8
|
+
```ts
|
|
9
|
+
const AZURE_CONNECTION_STRING: IConfigKey<string>;
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Defined in: [azure/env.ts:16](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/azure/env.ts#L16)
|
|
13
|
+
|
|
14
|
+
Azure queue connection string.
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 'Variable: AZURE\_RECEIVE\_WAIT\_MS'
|
|
3
|
+
generated: true
|
|
4
|
+
editUrl: false
|
|
5
|
+
---
|
|
6
|
+
# Variable: AZURE\_RECEIVE\_WAIT\_MS
|
|
7
|
+
|
|
8
|
+
```ts
|
|
9
|
+
const AZURE_RECEIVE_WAIT_MS: IConfigKey<number>;
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Defined in: [azure/env.ts:24](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/azure/env.ts#L24)
|
|
13
|
+
|
|
14
|
+
Maximum wait time in milliseconds when receiving messages.
|
|
15
|
+
|
|
16
|
+
## Default Value
|
|
17
|
+
|
|
18
|
+
```ts
|
|
19
|
+
5_000
|
|
20
|
+
@public
|
|
21
|
+
```
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 'Variable: BULLMQ\_CONFIG\_ENTRIES'
|
|
3
|
+
generated: true
|
|
4
|
+
editUrl: false
|
|
5
|
+
---
|
|
6
|
+
# Variable: BULLMQ\_CONFIG\_ENTRIES
|
|
7
|
+
|
|
8
|
+
```ts
|
|
9
|
+
const BULLMQ_CONFIG_ENTRIES: ReadonlyArray<Omit<IConfigRegistryEntry, "module">>;
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Defined in: [bullmq/env.ts:39](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/bullmq/env.ts#L39)
|
|
13
|
+
|
|
14
|
+
All configuration entries required by the BullMQ queue provider.
|
|
15
|
+
|
|
16
|
+
Pass this array to the module's `register()` method so that the
|
|
17
|
+
configuration service validates and provides the values at startup.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 'Variable: BULLMQ\_PREFIX'
|
|
3
|
+
generated: true
|
|
4
|
+
editUrl: false
|
|
5
|
+
---
|
|
6
|
+
# Variable: BULLMQ\_PREFIX
|
|
7
|
+
|
|
8
|
+
```ts
|
|
9
|
+
const BULLMQ_PREFIX: IConfigKey<string>;
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Defined in: [bullmq/env.ts:25](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/bullmq/env.ts#L25)
|
|
13
|
+
|
|
14
|
+
Optional key prefix applied to all BullMQ queues in Redis.
|
|
15
|
+
|
|
16
|
+
## Default Value
|
|
17
|
+
|
|
18
|
+
`''`
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 'Variable: BULLMQ\_REDIS\_URL'
|
|
3
|
+
generated: true
|
|
4
|
+
editUrl: false
|
|
5
|
+
---
|
|
6
|
+
# Variable: BULLMQ\_REDIS\_URL
|
|
7
|
+
|
|
8
|
+
```ts
|
|
9
|
+
const BULLMQ_REDIS_URL: IConfigKey<string>;
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Defined in: [bullmq/env.ts:17](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/bullmq/env.ts#L17)
|
|
13
|
+
|
|
14
|
+
Redis connection URL for BullMQ.
|
|
15
|
+
|
|
16
|
+
## Example
|
|
17
|
+
|
|
18
|
+
```ts
|
|
19
|
+
`redis://localhost:6379`
|
|
20
|
+
@public
|
|
21
|
+
```
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 'Variable: PLATFORM\_QUEUE\_CONFIG\_ENTRIES'
|
|
3
|
+
generated: true
|
|
4
|
+
editUrl: false
|
|
5
|
+
---
|
|
6
|
+
# Variable: PLATFORM\_QUEUE\_CONFIG\_ENTRIES
|
|
7
|
+
|
|
8
|
+
```ts
|
|
9
|
+
const PLATFORM_QUEUE_CONFIG_ENTRIES: ReadonlyArray<Omit<IConfigRegistryEntry, "module">>;
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Defined in: [env.ts:31](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/env.ts#L31)
|
|
13
|
+
|
|
14
|
+
All configuration entries required by `platform-queue`.
|
|
15
|
+
|
|
16
|
+
Pass this array to the module's `register()` method so that the
|
|
17
|
+
configuration service validates and provides the values at startup.
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 'Variable: QUEUE\_JOB\_STATUS'
|
|
3
|
+
generated: true
|
|
4
|
+
editUrl: false
|
|
5
|
+
---
|
|
6
|
+
# Variable: QUEUE\_JOB\_STATUS
|
|
7
|
+
|
|
8
|
+
```ts
|
|
9
|
+
const QUEUE_JOB_STATUS: {
|
|
10
|
+
completed: "completed";
|
|
11
|
+
failed: "failed";
|
|
12
|
+
pending: "pending";
|
|
13
|
+
processing: "processing";
|
|
14
|
+
};
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Defined in: [models/IQueueJob.ts:10](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/models/IQueueJob.ts#L10)
|
|
18
|
+
|
|
19
|
+
Possible statuses of a queue job.
|
|
20
|
+
|
|
21
|
+
Use as a const object and derive the union type via [QueueJobStatus](TypeAlias.QueueJobStatus).
|
|
22
|
+
|
|
23
|
+
## Type Declaration
|
|
24
|
+
|
|
25
|
+
| Name | Type | Default value | Description | Defined in |
|
|
26
|
+
| ------ | ------ | ------ | ------ | ------ |
|
|
27
|
+
| <a id="property-completed"></a> `completed` | `"completed"` | `'completed'` | Job finished successfully. | [models/IQueueJob.ts:16](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/models/IQueueJob.ts#L16) |
|
|
28
|
+
| <a id="property-failed"></a> `failed` | `"failed"` | `'failed'` | Job finished with an error. | [models/IQueueJob.ts:18](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/models/IQueueJob.ts#L18) |
|
|
29
|
+
| <a id="property-pending"></a> `pending` | `"pending"` | `'pending'` | Job is waiting to be picked up. | [models/IQueueJob.ts:12](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/models/IQueueJob.ts#L12) |
|
|
30
|
+
| <a id="property-processing"></a> `processing` | `"processing"` | `'processing'` | Job has been dequeued and is being processed. | [models/IQueueJob.ts:14](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/models/IQueueJob.ts#L14) |
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: 'Variable: QUEUE\_MAX\_JOBS'
|
|
3
|
+
generated: true
|
|
4
|
+
editUrl: false
|
|
5
|
+
---
|
|
6
|
+
# Variable: QUEUE\_MAX\_JOBS
|
|
7
|
+
|
|
8
|
+
```ts
|
|
9
|
+
const QUEUE_MAX_JOBS: IConfigKey<number>;
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
Defined in: [env.ts:17](https://github.com/RueDeRennes/archipel/blob/main/libs/platform-queue/src/env.ts#L17)
|
|
13
|
+
|
|
14
|
+
Maximum number of jobs retained in the in-memory queue before eviction.
|
|
15
|
+
|
|
16
|
+
## Default Value
|
|
17
|
+
|
|
18
|
+
```ts
|
|
19
|
+
10_000
|
|
20
|
+
@public
|
|
21
|
+
```
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
---
|
|
2
|
+
title: '@breadstone/archipel-platform-queue'
|
|
3
|
+
generated: true
|
|
4
|
+
editUrl: false
|
|
5
|
+
---
|
|
6
|
+
# @breadstone/archipel-platform-queue
|
|
7
|
+
|
|
8
|
+
## Classes
|
|
9
|
+
|
|
10
|
+
| Class | Description |
|
|
11
|
+
| ------ | ------ |
|
|
12
|
+
| [AzureQueue](Class.AzureQueue) | Azure Service Bus queue implementation. |
|
|
13
|
+
| [BullMqQueue](Class.BullMqQueue) | BullMQ-backed queue implementation. |
|
|
14
|
+
| [MemoryQueue](Class.MemoryQueue) | In-memory FIFO queue implementation. |
|
|
15
|
+
| [QueueError](Class.QueueError) | Base error class for all queue-related errors. |
|
|
16
|
+
| [QueueHealthIndicator](Class.QueueHealthIndicator) | Health indicator for the queue infrastructure. |
|
|
17
|
+
| [QueueJobNotFoundError](Class.QueueJobNotFoundError) | Thrown when a queue job cannot be found by its ID. |
|
|
18
|
+
| [QueueJobStateError](Class.QueueJobStateError) | Thrown when a queue job is in an invalid state for the requested transition. |
|
|
19
|
+
| [QueueValidationError](Class.QueueValidationError) | Thrown when a queue operation receives invalid input. |
|
|
20
|
+
|
|
21
|
+
## Interfaces
|
|
22
|
+
|
|
23
|
+
| Interface | Description |
|
|
24
|
+
| ------ | ------ |
|
|
25
|
+
| [IAzureQueueOptions](Interface.IAzureQueueOptions) | Configuration options for [AzureQueue](Class.AzureQueue). |
|
|
26
|
+
| [IBullMqQueueOptions](Interface.IBullMqQueueOptions) | Configuration options for [BullMqQueue](Class.BullMqQueue). |
|
|
27
|
+
| [IMemoryQueueOptions](Interface.IMemoryQueueOptions) | Configuration options for [MemoryQueue](Class.MemoryQueue). |
|
|
28
|
+
| [IQueue](Interface.IQueue) | Contract for queue implementations. |
|
|
29
|
+
| [IQueueJob](Interface.IQueueJob) | Represents a job in a named queue with tracking metadata. |
|
|
30
|
+
|
|
31
|
+
## Type Aliases
|
|
32
|
+
|
|
33
|
+
| Type Alias | Description |
|
|
34
|
+
| ------ | ------ |
|
|
35
|
+
| [QueueJobStatus](TypeAlias.QueueJobStatus) | Union type derived from [QUEUE\_JOB\_STATUS](Variable.QUEUE_JOB_STATUS). |
|
|
36
|
+
|
|
37
|
+
## Variables
|
|
38
|
+
|
|
39
|
+
| Variable | Description |
|
|
40
|
+
| ------ | ------ |
|
|
41
|
+
| [AZURE\_CONFIG\_ENTRIES](Variable.AZURE_CONFIG_ENTRIES) | All configuration entries required by the Azure queue provider. |
|
|
42
|
+
| [AZURE\_CONNECTION\_STRING](Variable.AZURE_CONNECTION_STRING) | Azure queue connection string. |
|
|
43
|
+
| [AZURE\_RECEIVE\_WAIT\_MS](Variable.AZURE_RECEIVE_WAIT_MS) | Maximum wait time in milliseconds when receiving messages. |
|
|
44
|
+
| [BULLMQ\_CONFIG\_ENTRIES](Variable.BULLMQ_CONFIG_ENTRIES) | All configuration entries required by the BullMQ queue provider. |
|
|
45
|
+
| [BULLMQ\_PREFIX](Variable.BULLMQ_PREFIX) | Optional key prefix applied to all BullMQ queues in Redis. |
|
|
46
|
+
| [BULLMQ\_REDIS\_URL](Variable.BULLMQ_REDIS_URL) | Redis connection URL for BullMQ. |
|
|
47
|
+
| [PLATFORM\_QUEUE\_CONFIG\_ENTRIES](Variable.PLATFORM_QUEUE_CONFIG_ENTRIES) | All configuration entries required by `platform-queue`. |
|
|
48
|
+
| [QUEUE\_JOB\_STATUS](Variable.QUEUE_JOB_STATUS) | Possible statuses of a queue job. |
|
|
49
|
+
| [QUEUE\_MAX\_JOBS](Variable.QUEUE_MAX_JOBS) | Maximum number of jobs retained in the in-memory queue before eviction. |
|