{"id":26471153,"url":"https://github.com/seppevs/move-sqs","last_synced_at":"2025-03-19T20:53:34.099Z","repository":{"id":48290601,"uuid":"170877365","full_name":"seppevs/move-sqs","owner":"seppevs","description":"Move all SQS messages from one queue to another, with an ability to modify the message in flight","archived":false,"fork":false,"pushed_at":"2021-08-03T04:24:33.000Z","size":340,"stargazers_count":13,"open_issues_count":18,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-21T07:17:09.833Z","etag":null,"topics":["amazon","aws","deadletter","messages","move","queue","sqs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/seppevs.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-02-15T14:26:58.000Z","updated_at":"2021-11-08T14:19:57.000Z","dependencies_parsed_at":"2022-07-22T22:32:13.520Z","dependency_job_id":null,"html_url":"https://github.com/seppevs/move-sqs","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seppevs%2Fmove-sqs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seppevs%2Fmove-sqs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seppevs%2Fmove-sqs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/seppevs%2Fmove-sqs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/seppevs","download_url":"https://codeload.github.com/seppevs/move-sqs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244506032,"owners_count":20463464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amazon","aws","deadletter","messages","move","queue","sqs"],"created_at":"2025-03-19T20:53:33.286Z","updated_at":"2025-03-19T20:53:34.093Z","avatar_url":"https://github.com/seppevs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# move-sqs\nMove all SQS messages from one queue to another, with an ability to modify the message\n\n✨ [![Build Status](http://img.shields.io/travis/seppevs/move-sqs.svg?style=flat)](https://travis-ci.org/seppevs/move-sqs) [![Coverage Status](https://coveralls.io/repos/github/seppevs/move-sqs/badge.svg?branch=master)](https://coveralls.io/r/seppevs/move-sqs) [![NPM](http://img.shields.io/npm/v/move-sqs.svg?style=flat)](https://www.npmjs.org/package/move-sqs) [![Downloads](http://img.shields.io/npm/dm/move-sqs.svg?style=flat)](https://www.npmjs.org/package/move-sqs) [![Dependencies](https://david-dm.org/seppevs/move-sqs.svg)](https://david-dm.org/seppevs/move-sqs) [![Known Vulnerabilities](https://snyk.io/test/github/seppevs/move-sqs/badge.svg)](https://snyk.io/test/github/seppevs/move-sqs) ✨\n\n## Why?\nThis can be helpful when you want to reprocess all messages from a deadletter queue.\n\n## Installation\n````bash\n$ npm install -g move-sqs\n````\n\n## Usage Help\n\n```\n$ move-sqs --help\n  Move all SQS messages from one queue to another, with an ability to modify the message\n\n  Usage\n    $ move-sqs \u003cinput\u003e\n\n  Options\n    --source-queue-url, -s  Source AWS SQS Queue URL\n    --destination-queue-url, -d  Destination AWS SQS Queue URL\n    --region, -r  AWS Region\n    --access-key-id, -k  AWS Access Key ID\n    --secret-access-key, -S AWS Secret Access Key\n\t--merge-json-message-with, -o (OPTIONAL) Merge the json message body with a given json string \n\t\n```\n\n## Examples\n\n### Basis usage:\n`\n$ move-sqs --sourceQueueUrl \\\"https://sqs.eu-west-1.amazonaws.com/123456789012/from-queue\" --destinationQueueUrl \"https://sqs.eu-west-1.amazonaws.com/123456789012/to-queue\" --region \"eu-west-1\" --accessKeyId \"YourAwsAccessKeyId\" --secretAccessKey \"YourAwsSecretKey\"\n`\n\n### With --merge-json-message-with\n`\n$ move-sqs --sourceQueueUrl \"https://sqs.eu-west-1.amazonaws.com/123456789012/from-queue\" --destinationQueueUrl \"https://sqs.eu-west-1.amazonaws.com/123456789012/to-queue\" --region \"eu-west-1\" --accessKeyId \"YourAwsAccessKeyId\" --secretAccessKey \"YourAwsSecretKey\" --merge-json-message-with \"{\\\"someAttribute\\\": \\\"weWantToChangeOrSet\\\"}\"\n`\n\nThe `--merge-json-message-with` argument is optional.\n\nYou can use it to modify the message body. The tool will parse the message body as json + parse your input as json.\nThen it will perform a merge of the two and send the result to the destination queue.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseppevs%2Fmove-sqs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseppevs%2Fmove-sqs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseppevs%2Fmove-sqs/lists"}