codeforboston / codeforboston/police-data-trust

[FEATURE] Poll SQS for new messages and download from S3 when found

Open
#382 0 comments 0 reactions 1 assignee Claimed by @zganger View on GitHub
priority
Dominant language
Python
Stars
64
Forks
102
PR merge metrics
No merged PRs in 30d

Description

1. Poll SQS queue
2. If a message exists in the queue
2a. change visibility to high `SQS.Client.change_message_visibility()`
2b. download from S3 at `parsed.Records[0].s3.bucket.name + "/" + parsed.Records[0].s3.object.key` and log success or failure
2c. if download succeeds, delete message

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.