-
Notifications
You must be signed in to change notification settings - Fork 743
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SQS] Ack messages when can not unmarshal payload #1364
Comments
@mbruner - do you think adding a field indicating if |
Also, do you have any suggestion to the logic for pub/sub? |
@whynowy if it can be configurable - perfect! |
@whynowy I can take this one, but what will be the preferable solution? to simply remove the ack to be consistent with PubSub logic? or to add a conditional ack based on a new |
When message payload received from SQS is not a valid JSON we get an error in logs but message is still acknowledged. That makes it impossible to forward it farther to DLQ.
argo-events/eventsources/sources/awssqs/start.go
Lines 143 to 146 in d556788
Also, SQS handling logic differs from how it's implemented for PubSub:
argo-events/eventsources/sources/gcppubsub/start.go
Lines 124 to 127 in e9745c1
The text was updated successfully, but these errors were encountered: