aws-powertools / powertools-lambda-java

Powertools is a developer toolkit to implement Serverless best practices and increase developer velocity.
https://docs.powertools.aws.dev/lambda/java/
MIT No Attribution
287 stars 88 forks source link

Validation module compatible with batch module #1496

Open jeromevdl opened 1 year ago

jeromevdl commented 1 year ago

Is your feature request related to a problem? Please describe.

The @Validation annotation should be compatible with the batch module (SQS, Kinesis), i.e. if one message is wrong do not fail the whole batch but add the message to the partial failure list.

There should not be any (maven) dependency between the 2 modules.

Describe the solution you'd like

Describe alternatives you've considered

eventually put the @Validation annotation on the processRawMessage but it would be much complex to develop (much more changes) and I do not see the benefit.

jeromevdl commented 11 months ago

let's have #1489 merged before doing that one, then it's an "easy" one

scottgerring commented 10 months ago

This should be done in conjunction with #1469

jeromevdl commented 4 months ago

Done with #1621