You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tried a command like this today to test the replay feature.
$ lumigo-cli replay-sqs-dlq --region eu-west-1 --dlqQueueName=org-trail-20211206_DLQ --targetType=SNS --targetName=org-trail-20211206
finding the SQS DLQ [org-trail-20211206_DLQ] in [eu-west-1]
finding the SNS topic [org-trail-20211206] in [eu-west-1]
replaying events from [https://sqs.eu-west-1.amazonaws.com/345132479590/org-trail-20211206_DLQ] to [SNS:org-trail-20211206] with 10 concurrent pollers
InvalidParameter: Invalid parameter: Message too long
Code: InvalidParameter
I was testing it with an SNS topic that whose subscribers were deliberately broken. So the messages when replayed would immediately reenter the DLQ.
The normal publications to the SNS topic are S3 notifications like these:
My guess is that somehow the escapes are duplicated each time the message is read until there are so many escapes that the message exceeds the 256k limit of SNS.
I don't know any other tool that offers this replay-to-SNS feature, so I'd really appreciate it if you could fix this :-)
The text was updated successfully, but these errors were encountered:
I tried a command like this today to test the replay feature.
I was testing it with an SNS topic that whose subscribers were deliberately broken. So the messages when replayed would immediately reenter the DLQ.
The normal publications to the SNS topic are S3 notifications like these:
It seems that Lumigo is not correctly handling the escaping of the embedded JSON.
The correct messages in the DLQ are around 2k bytes big.
When I read some of the messages from the DLQ after trying this reply command a few times, I see messages that are 14k, 40k, 74k, 142k big!
Here's a partial sample that shows the escapes are being duplicated:
My guess is that somehow the escapes are duplicated each time the message is read until there are so many escapes that the message exceeds the 256k limit of SNS.
I don't know any other tool that offers this replay-to-SNS feature, so I'd really appreciate it if you could fix this :-)
The text was updated successfully, but these errors were encountered: