@queuedash/ui 3.14.2 → 3.16.0

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/README.md CHANGED
@@ -176,7 +176,8 @@ Then visit http://localhost:3000
176
176
 
177
177
  #### Environment Variables
178
178
 
179
- - `QUEUES_CONFIG_JSON` - **Required**. JSON string containing queue configuration
179
+ - `QUEUES_CONFIG_JSON` - Optional if `QUEUES_CONFIG_FILE_PATH` is set. JSON string containing queue configuration.
180
+ - `QUEUES_CONFIG_FILE_PATH` - Optional if `QUEUES_CONFIG_JSON` is set. Path to a JSON file containing queue configuration.
180
181
 
181
182
  Example configuration:
182
183
  ```json
@@ -188,6 +189,16 @@ Example configuration:
188
189
  "type": "bullmq",
189
190
  "connectionUrl": "redis://localhost:6379"
190
191
  },
192
+ {
193
+ "name": "clustered-reports",
194
+ "displayName": "Clustered Reports",
195
+ "type": "bullmq",
196
+ "clusterNodes": [
197
+ { "host": "redis-cluster-0", "port": 6379 },
198
+ { "host": "redis-cluster-1", "port": 6379 },
199
+ { "host": "redis-cluster-2", "port": 6379 }
200
+ ]
201
+ },
191
202
  {
192
203
  "name": "email-queue",
193
204
  "displayName": "Email Queue",
@@ -198,6 +209,8 @@ Example configuration:
198
209
  }
199
210
  ```
200
211
 
212
+ For `bullmq` queues, provide either `connectionUrl` (single-node Redis) or `clusterNodes` (Redis Cluster). `clusterNodes` is not supported for `bull` or `bee`.
213
+
201
214
  Supported queue types: `bull`, `bullmq`, `bee`, `groupmq`
202
215
 
203
216