Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

app/gosqs: increment number of receives for a message #241

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

vishen
Copy link

@vishen vishen commented Nov 25, 2021

When returning an SQS message, increment the 'NumberOfReceives' so it
always contains the number of times a message has been received but not
yet deleted.

From the AWS SQS docs:

ApproximateReceiveCount – Returns the number of times a message has been received across all queues but not deleted.

When returning an SQS message, increment the 'NumberOfReceives' so it
always contains the number of times a message has been received but not
yet deleted.

From the AWS SQS docs:

    ApproximateReceiveCount – Returns the number of times a message has been received across all queues but not deleted.
@Admiral-Piett
Copy link
Owner

@vishen Sorry it's been such a long time - this looks great to me. Mind throwing a test in here for it?

@Admiral-Piett
Copy link
Owner

@vishen Following up here - if you don't want to mess with this anymore (understandable) I'll branch off this, write some tests and merge that instead. Let me know! I appreciate the effort!

@vishen
Copy link
Author

vishen commented Nov 14, 2023

Apologies @Admiral-Piett , I don't have the time anymore to add the tests. If you have time to add them that would be amazing :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants