Let AWS Lambda SQS handlers report partial batch failures #14468
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resolves #14441
Reporting partial batch failures requires using
SQSBatchResponse
which is not available in2.2
that we currently have library instrumentation for. This PR adds a new library instrumentation for3.11
. This is unusual since for other instrumentations we don't have library instrumentations for multiple versions. I'm looking for feedback on how we should handle this. Keep javaagent at2.2
and move library to3.11
? If we are going to do that then changing the package name is going to break existing code, is that fine or should we do some sort of deprecation cycle? If we are going to remove the2.2
module should we try to do maven relocation to new coordinates (have we done this before)? cc @traskBumping the library version would also unblock #8642