qdone 1.6.0 → 1.7.1

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/.coveralls.yml CHANGED
@@ -1,2 +1 @@
1
- repo_token: cMQPaDVPX25duyF7Ah54EYmJ0R5UF8qZq
2
-
1
+ service_name: travis-ci
package/.travis.yml CHANGED
@@ -4,6 +4,8 @@ services:
4
4
  - redis-server
5
5
  node_js:
6
6
  - '6'
7
+ - '8'
8
+ - '10'
7
9
  cache:
8
10
  directories:
9
11
  - node_modules
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ v.1.7.0
4
+ -------
5
+
6
+ ### New Features
7
+
8
+ #### Added `--deduplication-id` option for enqueue ([#40](https://github.com/suredone/qdone/issues/40))
9
+
10
+ `qdone` has always set a deduplication id (using a UUID v1) when sending enqueue calls, but it looks like the aws sdk does not have adequate retry defaults set. This option lets a qdone user retry enqueue operations. For more information please see the [AWS docs for Message Deduplication ID](https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/using-messagededuplicationid-property.html).
11
+
12
+ ### Under the hood
13
+
14
+ - Updated aws-sdk.
15
+ - Updated locked dependencies.
16
+
3
17
  v.1.6.0
4
18
  -------
5
19
 
package/README.md CHANGED
@@ -425,6 +425,10 @@ Options
425
425
  -f, --fifo Create new queues as FIFOs
426
426
  -g, --group-id string FIFO Group ID to use for all messages enqueued in current command. Defaults to an string unique to this invocation.
427
427
  --group-id-per-message Use a unique Group ID for every message, even messages in the same batch.
428
+ --deduplication-id string A Message Deduplication ID to give SQS when sending a message. Use this
429
+ option if you are managing retries outside of qdone, and make sure the ID is
430
+ the same for each retry in the deduplication window. Defaults to a string
431
+ unique to this invocation.
428
432
  --prefix string Prefix to place at the front of each SQS queue name [default: qdone_]
429
433
  --fail-suffix string Suffix to append to each queue to generate fail queue name [default: _failed]
430
434
  --region string AWS region for Queues [default: us-east-1]