Admiral-Piett / goaws

AWS (SQS/SNS) Clone for Development testing
MIT License
779 stars 144 forks source link

gosqs added support to cancel context for sqs ReceiveMessage() #211

Closed sebcante closed 4 years ago

sebcante commented 4 years ago

Without this if the client cancels a waiting ReceiveMessage(), goaws risks to send a subsequent message from queue to a ReceiveMessage() handler that no client listens to and make this message not visible to pickup by other active receivers until WaitTimeSeconds is reached