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
Why is an SQS FIFO queue forcing me to enable deduplication?
I don't want deduplication at all.
ERROR_MESSAGE
String
The queue should either have ContentBasedDeduplication enabled or MessageDeduplicationId provided explicitly
(Service: AmazonSQS; Status Code: 400; Error Code: InvalidParameterValue;
And why is it so hard to find the error? CDK (Python) allows me to create an SQS FIFO queue without deduplication, but then it fails during runtime after deploying the stack. It was very hard for me to find what caused the issue. I'm using an SQS FIFO queue as a target for an EventBridge rule, and I only got Failed Invocations metrics; that's all, no information. I had to create a DLQ queue and then see the error in the message attributes in the DLQ. I found this life-saving hack here: https://stackoverflow.com/a/73171924/9737275
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
Why is an SQS FIFO queue forcing me to enable deduplication?
I don't want deduplication at all.
And why is it so hard to find the error? CDK (Python) allows me to create an SQS FIFO queue without deduplication, but then it fails during runtime after deploying the stack. It was very hard for me to find what caused the issue. I'm using an SQS FIFO queue as a target for an EventBridge rule, and I only got Failed Invocations metrics; that's all, no information. I had to create a DLQ queue and then see the error in the message attributes in the DLQ. I found this life-saving hack here: https://stackoverflow.com/a/73171924/9737275
Beta Was this translation helpful? Give feedback.
All reactions