Giter Site home page Giter Site logo

fvinas / multi_sqs_listener Goto Github PK

View Code? Open in Web Editor NEW
36.0 3.0 12.0 27 KB

Simple Python wrapper to listen to multiple AWS SQS queues with different priorities - handles both short and long polling.

License: MIT License

Python 100.00%
aws-sqs sqs-queue listener daemon python events

multi_sqs_listener's Issues

Add `endpoint_url` for localstack use

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.

Listening on shared queues

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.