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
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠