Receive Messages from FIFO SQS with a specific Message Group Id using Boto3

0

I am creating an app where a FIFO SQS is going to receive message with different MessageGroupId. I want to receive only those messages with a specific MessageGroupId using python boto3. Is it feasible?

已提问 1 年前886 查看次数
1 回答
0

No. The ReceiveMessage API does not have an option to specify the group ID.

What is your expectation regarding the other messages? Do you need them to remain in the queue, or removed? If you need them removed, you should be able to use message filtering when consuming the queue with Lambda functions.

profile pictureAWS
专家
Uri
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则