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?

gefragt vor einem Jahr886 Aufrufe
1 Antwort
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
EXPERTE
Uri
beantwortet vor einem Jahr

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen