Reputation: 7986
I read the SQS Doc, it stated that A single message batch request can include a maximum of 10 messages
Do this apply to both send and receive? Because I was planning to receive 200 message at one time.
Upvotes: 1
Views: 4616
Reputation: 1392
According to this: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-batch-api-actions.html
There are only following batch requests:
Single ReceiveMessage action is limited up to 10.
For receive 200 messages - you need to poll queue multiple times until you read them all.
Upvotes: 3