@cnnrrss/replay-aws-dlq
Advanced tools
Comparing version 1.1.1 to 1.1.2
{ | ||
"name": "@cnnrrss/replay-aws-dlq", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Re-drive dead letter queue messages to another queue", | ||
@@ -5,0 +5,0 @@ "homepage": "", |
@@ -7,10 +7,13 @@ # replay-aws-dlq [![NPM version][npm-image]][npm-url] | ||
```sh | ||
$ npm install --save replay-aws-dlq | ||
$ npm install --save @cnnrrss/replay-aws-dlq | ||
``` | ||
## Usage | ||
The following command will move all messages in `[source]` queue to `[dest]` queue where source queue is usually a dead-letter queue, and the destination queue is it's pairing queue. | ||
The following command will move all messages in `[from]` queue `[to]` queue where source queue is usually a dead-letter queue, and the destination queue is it's pairing queue. | ||
```bash | ||
replay-aws-dlq [source_queue_url] [dest_queue_url] | ||
replay-aws-dlq \ | ||
--from https://sqs.ap-southeast-2.amazonaws.com/718583902179/samstarter-v2-UploadAssetDLQ-XXFMZ0C9N5KP \ | ||
--to https://sqs.ap-southeast-2.amazonaws.com/718583902179/samstarter-v2-UploadAsset-1CF6W6RO07PGF \ | ||
--throttle 1 # throttle messages, in seconds, optional | ||
``` | ||
@@ -21,3 +24,3 @@ | ||
```bash | ||
AWS_PROFILE=staging replay-aws-dlq https://sqs.eu-central-1.amazonaws.com/123/my-queue-deadletter.fifo https://sqs.eu-central-1.amazonaws.com/123/my-queue.fifo | ||
AWS_PROFILE=staging replay-aws-dlq ... | ||
``` | ||
@@ -28,2 +31,6 @@ | ||
## Credit | ||
Thanks [Garry Yao](https://github.com/garryyao/replay-aws-dlq) for the initial verion of this package. This package is a simple fork of his efforts of the same name, extended to provide a few additional options. | ||
## License | ||
@@ -34,3 +41,3 @@ | ||
[npm-image]: https://badge.fury.io/js/replay-aws-dlq.svg | ||
[npm-url]: https://npmjs.org/package/replay-aws-dlq | ||
[npm-image]: https://badge.fury.io/js/@cnnrrss%2Freplay-aws-dlq.svg | ||
[npm-url]: https://npmjs.org/package/@cnnrrss/replay-aws-dlq |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11528
40