fvinas / multi_sqs_listener Goto Github PK
View Code? Open in Web Editor NEWSimple Python wrapper to listen to multiple AWS SQS queues with different priorities - handles both short and long polling.
License: MIT License
Simple Python wrapper to listen to multiple AWS SQS queues with different priorities - handles both short and long polling.
License: MIT License
Thank you for creating this useful tool. I am planning to use it for a project at my company to read from multiple SQS queues from a single consumer. However, in order to test it out and do local development, I wanted to use the tool localstack.
I created my localstack and SQS queues using docker following the instructions here and was able to use the awscli-local project to easily create queues and add messages to the queues.
However, in order to get multi_sqs_listener
to work with my localstack, I realized that I needed to specify an endpoint_url
. I think you should consider adding it as standard functionality for this package.
It would be great to include support for SQS queues owned by another AWS account.
The boto3 docs indicate that QueueOwnerAWSAccountId
needs to be supplied to get_queue_url()
for this to work.
Without that parameter, I'm seeing an exception:
botocore.errorfactory.QueueDoesNotExist: An error occurred (AWS.SimpleQueueService.NonExistentQueue) when calling the GetQueueUrl operation: The specified queue does not exist for this wsdl version.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.