Skip to content

fix(aws_s3 source): delete SQS messages that cannot be parsed - #48

Merged
sundaresanr merged 1 commit into
v0.54.0-exaforcefrom
sundar/sqs_error_detail
Sep 19, 2026
Merged

sundaresanr merged 1 commit into
v0.54.0-exaforcefrom
sundar/sqs_error_detail

Conversation

@sundaresanr

Copy link
Copy Markdown

A message that fails to parse as an S3 notification fails identically on every redelivery, but was never deleted: the parse error returned before the delete, so SQS kept making the message visible until the retention period expired, growing the queue and competing with valid messages sharing it.

Queue these messages for deletion after emitting the same parse error as before, so an unrecognized message shape does not silently disappear.

A message that fails to parse as an S3 notification fails identically on
every redelivery, but was never deleted: the parse error returned before
the delete, so SQS kept making the message visible until the retention
period expired, growing the queue and competing with valid messages
sharing it.

Queue these messages for deletion after emitting the same parse error as
before, so an unrecognized message shape does not silently disappear.
@sundaresanr
sundaresanr merged commit d8985f4 into v0.54.0-exaforce Sep 19, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants