SES Status Notification with SQS FIFO Queue

0

I used a SQS FIFO queue to buffer email status notifications from SES. To increase the processing speed, I would like to have multiple consumer processing the queue. It would requires me to add a MessageGroupId for each item.

Can I check how I can specify the MessageGroupId for the email status?

  • Could you describe a little bit more about your architecture? I think you are using the SES notifications to send the notifications to a SNS topic, and from there, to a SQS queue. In this architecture, SES doesn't support SNS FIFO, and SNS standard doesn't send the messages to SQS FIFO. I'd like to know how are you sending the notifications to a SQS FIFO and why you need to keep the order of the messages.

2 個答案
0

Hi,

Thanks for reaching out. I would like to echo Eduardo's thoughts here and would like to confirm your use case and how exactly you are sending the SES notifications to the SQS FIFO queue at the moment?

Currently, we can only send SES notifications to a standard SNS topic so I am curious how you are sending this to an SQS FIFO queue. The MessageGroupID is a parameter that we need to set when sending messages to the SQS FIFO queue(unless the message comes from an SNS FIFO Queue). if you are sending messages to an SQS FIFO queue, then you are already somehow setting the MessageGroupID somewhere as this is a required parameter for SQS FIFO queues.

https://docs.aws.amazon.com/AWSSimpleQueueService/latest/APIReference/API_SendMessage.html#API_SendMessage_RequestParameters

Important
MessageGroupId is required for FIFO queues. You can't use it for Standard queues.

So it seems there is some context and information that we are missing. Kindly share some additional details and we will do our best to help you.

AWS
支援工程師
Ryan_A
已回答 2 年前
0

Hi, thanks for your question. As mentioned by Ryan, SES can send notifications to SNS. I suggest you take a look at this reference architecture and accompanying CloudFormation template to deploy this architecture: https://github.com/aws-samples/communication-developer-services-reference-architectures#SES-Event-Processing

Best.

AWS
bruno_g
已回答 1 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南