Validation module compatible with batch module #1496
Labels
enhancement
New feature or request
priority:2
High - core feature or affects 60% of the users
RFC
status/staged-major-release
This change will go with the next major release
v2
Version 2
Milestone
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
SQSBatchResponse
/StreamsEventResponse
and put the messages in error in the partial error. (example)SQSBatchResponse
/StreamsEventResponse
and potentially add partial failures).Describe alternatives you've considered
eventually put the
@Validation
annotation on theprocessRawMessage
but it would be much complex to develop (much more changes) and I do not see the benefit.The text was updated successfully, but these errors were encountered: