powertools-lambda-java icon indicating copy to clipboard operation
powertools-lambda-java copied to clipboard

feat(v2): batch validation with partial failure

Open jeromevdl opened this issue 1 year ago • 11 comments

Issue #, if available: #1496

Description of changes:

Adding partial failure for validation with SQS and Kinesis. Modification of the ValidationAspect.java to validate each messages of SQS/Kinesis batches and put invalid messages in partial batch failures list of the response. After the handler, we merge with user batch failures.

Checklist

Breaking change checklist

RFC issue #:

  • [ ] Migration process documented
  • [ ] Implement warnings (if it can live side by side)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

jeromevdl avatar Apr 05 '24 16:04 jeromevdl