{"id":32608504,"url":"https://github.com/gchudnov/sqsmove","last_synced_at":"2026-06-13T16:33:13.829Z","repository":{"id":46561748,"uuid":"405049788","full_name":"gchudnov/sqsmove","owner":"gchudnov","description":"Moves SQS messages between queues","archived":false,"fork":false,"pushed_at":"2023-03-14T16:37:13.000Z","size":106,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-30T12:04:00.009Z","etag":null,"topics":["copy","move","sqs","sqs-queue"],"latest_commit_sha":null,"homepage":"","language":"Scala","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/gchudnov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-09-10T10:58:41.000Z","updated_at":"2022-12-14T23:50:25.000Z","dependencies_parsed_at":"2025-10-30T12:03:32.726Z","dependency_job_id":"3275770c-7926-4bb5-a53a-a78307781a52","html_url":"https://github.com/gchudnov/sqsmove","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/gchudnov/sqsmove","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gchudnov%2Fsqsmove","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gchudnov%2Fsqsmove/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gchudnov%2Fsqsmove/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gchudnov%2Fsqsmove/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gchudnov","download_url":"https://codeload.github.com/gchudnov/sqsmove/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gchudnov%2Fsqsmove/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34292324,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["copy","move","sqs","sqs-queue"],"created_at":"2025-10-30T12:03:22.302Z","updated_at":"2026-06-13T16:33:13.812Z","avatar_url":"https://github.com/gchudnov.png","language":"Scala","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SQSMove\n\n\u003cimg src=\"res/logo192.png\" width=\"192px\" height=\"192px\" align=\"right\" /\u003e\n\n[![Build](https://github.com/gchudnov/sqsmove/actions/workflows/ci.yml/badge.svg)](https://github.com/gchudnov/sqsmove/actions/workflows/ci.yml)\n\nMoves or copies messages between AWS SQS queues with the desired parallelism, preserving attributes.\n\n\u003cbr clear=\"right\" /\u003e\u003c!-- Turn off the wrapping for the logo image. --\u003e\n\n## Usage\n\nDownload the binary executable or build it.\n\n```bash\n$ sqsmove --help\n```\n\n```text\nsqsmove 1.2.4\nUsage: sqsmove [options]\n\n  -s, --src-queue \u003cname\u003e   source queue name\n  -d, --dst-queue \u003cname\u003e   destination queue name\n  --src-dir \u003cpath\u003e         source directory path\n  --dst-dir \u003cpath\u003e         destination directory path\n  -p, --parallelism \u003cvalue\u003e\n                           parallelism (default: 16)\n  -c, --count \u003cvalue\u003e      number of messages to process (default: no limit)\n  --visibility-timeout \u003cvalue\u003e\n                           visibility timeout (default: 30s). Format: 1d12h35m16s\n  --no-delete              do not delete messages after processing\n  --yes                    do not ask for confirmation\n  -v, --verbose            verbose output\n  -h, --help               prints this usage text\n  --version                prints the version\n\nExamples:\n\n  - Move messages from queue A to queue B:\n    sqsmove -s A -d B\n\n  - Move messages from queue A to queue B with parallelism 1:\n    sqsmove -s A -d B -p 1\n\n  - Copy messages from queue A to queue B with visibility timeout 5m:\n    sqsmove -s A -d B --no-delete --visibility-timeout=5m\n\n  - Download messages to directory D:\n    sqsmove -s A --dst-dir D\n\n  - Download N messages to directory D:\n    sqsmove -s A --dst-dir D -c N\n\n  - Download N messages to directory D without deletion:\n    sqsmove -s A --dst-dir D -c N --no-delete\n\n  - Upload messages from directory D:\n    sqsmove --src-dir D -d B\n```\n\n## Examples\n\n**Move messages from queue A to queue B:**\n\n```bash\nsqsmove -s A -d B\n```\n\n**Move messages from queue A to queue B with parallelism 1:**\n\n```bash\nsqsmove -s A -d B -p 1\n```\n\n**Copy messages from queue A to queue B:**\n\n```bash\nsqsmove -s A -d B --no-delete\n```\n\nThe flag `--no-delete` prevents the deletion of messages in the source queue. If there are *a lot* of messages in the source queue, it might be worth to increase the visibility timeout, e.g. `--visibility-timeout=5m` (the value depends on the expected time to copy all messages) to make sure that the utility is not copying the same message again when visibility timeout expires (default: 30s).\n\n```bash\nsqsmove -s A -d B --no-delete --visibility-timeout=5m\n```\n\n**Download messages to directory D:**\n\n```bash\nsqsmove -s A --dst-dir D\n```\n\nIt downloads both body of the message and message attributes as two separate files and saves them to the specified directory.\nIf the message has id `X`, body will be saved to the file `X`, message attributes to the file `X.meta`.\n\nAttributes are stored as a CSV with 3 columns: `name`, `type` and `value` where each line is a separate message attribute:\n\n```text\nname,type,value\nstrAttr,String,str\nnumAttr,Number,1\nbinAttr,Binary,QUJD\n```\n\nThe supported types are `String`, `Number` and `Binary` where binary data is encoded as a Base64 string.\n\n**Download N messages to directory D:**\n\n```bash\nsqsmove -s A --dst-dir D -c N\n```\n\n**Upload messages from directory D:**\n\n```bash\nsqsmove --src-dir D -d B\n```\n\nWhen uploading messages from a local directory, files are not deleted. If there is a corresponding `.meta` file is present for a file, it will be used as a source of message attributes.\n\n**Confirm the action:**\n\nWhen `sqsmove` is executed, it asks a user to confirm the action.\nFor example, `sqsmove --src-queue=A --dst-dir=D` generates the following output:\n\n```text\nGoing to MOVE messages 'A' -\u003e 'D'\n[parallelism: 16; visibility-timeout: 30s; no-delete: false]\nAre you sure? (y|N)\n```\n\nTo avoid the question, provide `--yes` parameter:\n\n```bash\nsqsmove -s A -d D --yes\n```\n\n## Build\n\nFollow the instructions, listed in [BUILD](res/graalvm/BUILD.md) readme.\n\n## Contact\n\n[Grigorii Chudnov](mailto:g.chudnov@gmail.com)\n\n## License\n\nDistributed under the [The MIT License (MIT)](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgchudnov%2Fsqsmove","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgchudnov%2Fsqsmove","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgchudnov%2Fsqsmove/lists"}