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?

posta un anno fa887 visualizzazioni
1 Risposta
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
ESPERTO
Uri
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande