Skip to content

Fix/enhance sqs partial acknowledgement handling#1

Open
co2plant wants to merge 13 commits into
mainfrom
fix/EnhanceSQSPartialAcknowledgementHandling
Open

Fix/enhance sqs partial acknowledgement handling#1
co2plant wants to merge 13 commits into
mainfrom
fix/EnhanceSQSPartialAcknowledgementHandling

Conversation

@co2plant

Copy link
Copy Markdown
Owner

📢 Type of change

  • Bugfix
  • New feature
  • Enhancement
  • Refactoring

📜 Description

💡 Motivation and Context

💚 How did you test it?

📝 Checklist

  • I reviewed submitted code
  • I added tests to verify changes
  • I updated reference documentation to reflect the change
  • All tests passing
  • No breaking changes

🔮 Next steps

co2plant and others added 13 commits January 25, 2026 21:28
- Changed null to DeleteMessageBatchResponse
DeleteMessageBatch response
- Correlate items using message IDs for accurate mapping
- Pass different lists to the SqsAcknowledgementException constructor to handle partial failures
- Extract partial error handling logic from the deleteMessages method
- Improved code readability and maintainability
- placed the calling method at the top and the helper method at the bottom
- handle DeleteMessageBatch partial failures in a dedicated method
- map AWS failed entry IDs to original message IDs
- populate SqsAcknowledgementException with successful/failed message lists
- avoid wrapping SqsAcknowledgementException twice
- extend SqsAcknowledgementExecutorTests to assert partial failure mapping
- fix callback interface name to AsyncAcknowledgementResultCallback
- explain that onFailure receives SqsAcknowledgementException on partial failures
- add an example using successful/failed acknowledgement message lists for retry
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.

1 participant