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

Add max_receive_count configuration option in S3-SQS source to delete messages that have been received many times #5408

Merged
merged 1 commit into from
Feb 7, 2025

Conversation

graytaylor0
Copy link
Member

@graytaylor0 graytaylor0 commented Feb 3, 2025

Description

Adds an option max_receive_count to the sqs configuration to allow for deletion of messages that have been received more than X times. This is not enabled by default

  • When ApproximateReceiveCount is greater than 1, do not record the sqsMessageDelay metric

Issues Resolved

Resolves #[Issue number to be closed when this PR is merged]

Check List

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

… messages that have been received many times

Signed-off-by: Taylor Gray <[email protected]>
Copy link
Member

@dlvenable dlvenable left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@graytaylor0 graytaylor0 merged commit 1ce9dbf into opensearch-project:main Feb 7, 2025
44 of 47 checks passed
@graytaylor0 graytaylor0 deleted the SqsReceive branch February 7, 2025 16:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants