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?

preguntada hace un año886 visualizaciones
1 Respuesta
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
EXPERTO
Uri
respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas