renanvieira / phoenix-letter Goto Github PK
View Code? Open in Web Editor NEWCLI to bring your messages back from SQS Dead Letter Queues.
License: MIT License
CLI to bring your messages back from SQS Dead Letter Queues.
License: MIT License
The code doesn't seem to handle a missing MessageAttributes array element, which is entirely acceptable from SQS.
sqs_client.receive_message(QueueUrl=source_queue_url, MessageAttributeNames=["All"],
AttributeNames=['All'],
MaxNumberOfMessages=args.max_receive_messages)
is correctly asking to receive Message Atributes, but then
send_response = sqs_client.send_message(QueueUrl=destination_queue_url,
MessageBody=message['Body'],
MessageAttributes=message['MessageAttributes'])
is re-sending assuming something was returned.
I'm not even a Python novice, so can't submit a worthy PR, but seems fairly trivial. Can anyone replicate?
Thanks!
Add support param to allow the wait_time to make long pooling on the queue and stop the use of sleep in the code.
I'd like to have an easier way to install than cloning VCS repo and running build tools.
Hi, it seems that with FIFO queues, MessageGroupId is required with send_message. It would be nice if the tool could take it as a parameter or use the existing MessageGroupIds from (FIFO) DLQ
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.