You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/sqs/index.js
+15-8Lines changed: 15 additions & 8 deletions
Original file line number
Diff line number
Diff line change
@@ -231,12 +231,12 @@ module.exports = ({
231
231
* too large to fit in sqs, it will write a sqs with a pointer to an s3
232
232
* bucket
233
233
*
234
-
* @param queueName Name of queue
235
-
* @param payload body of message
236
-
* @param attrs attributes attached to message
237
-
* @param s3Bucket bucket name for message storage, if it exceeds limit
238
-
* @paramprefixbucket path prefix (no slashes)
239
-
* @paramshardsnumber of bucket shard paths
234
+
* @param{string} queueName Name of queue
235
+
* @param{string|object} payload body of message
236
+
* @param{object} attrs attributes attached to message
237
+
* @param{string} s3Bucket bucket name for message storage, if it exceeds limit
238
+
* @param{number} shards (deprecated) number of bucket shard paths
239
+
* @param{boolean} uuidPrefix use uuid() as S3 path prefix to prevent S3 throttling during high throughput scenarios. When true, ignores 'shards' parameter.
240
240
*/
241
241
extendedSend: ({
242
242
queueName,
@@ -245,7 +245,8 @@ module.exports = ({
245
245
s3Bucket,
246
246
messageGroupId,
247
247
messageDeduplicationId,
248
-
shards =50
248
+
shards =50,
249
+
uuidPrefix =false
249
250
})=>{
250
251
if(!s3Bucket){
251
252
returnPromise.reject(newError('S3 Bucket name required'));
0 commit comments