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?

asked a year ago872 views
1 Answer
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
EXPERT
Uri
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions