This video shows how you can access the AWS-SQS service from Python through the Boto3 library. You can create a queue, then write to the queue and receive from the queue. Each message is guaranteed to be deleted once (though can be received multiple times after each visibility timeout window, if the message has not been deleted by the initial recipient). My code demos a delete after each read-receipt (but this can be easily modified to see what happens if no delete happens on each read) . You’ll notice that without an explicit message delete, the message is simply invisible on the default visibility-timeout window of 30 seconds, and re-appears 30 seconds later with a different receipt-handler.
My code demos how to delete a message as well, specifying the ReceiptHandler of the message as well as Queue-Url at time of delete.
Hi I have one requirement now using SQS
Please tell me
1. One lambda function will send messages to SQS queue with different group ID's and deduplication ID's
2 . Now SQS contains all messages
3. I am not giving any trigger point to this SQS
4 . Using one SCHEDULED lambda I am receiving messages from QUEUE
NOW MY REQUIREMENT IS
1) I want to receive messages based on group I'd
Ex: now in SQS 20 messages available
Group3 = 5
Now I want to receive messages from group 3 only
Is it possible ?
Please tell me
Great example. Maybe close some docs down when you are creating a video. 14:27
Dear Friend, Thanks for making simple and amazing tutorial. If you don't mind, can you please share the code
Superbly explained the SQS concept, even without voice also ThumpsUP