Bogdanp / dramatiq_sqs

A Dramatiq broker that can be used with Amazon SQS.
https://dramatiq.io
Other
56 stars 21 forks source link

Add support for SQS dead-letter queues #2

Closed pjsier closed 6 years ago

pjsier commented 6 years ago

Initial pass at fixing #1. Defaults to not creating a dead-letter queue, but if dead_letter is true create one with the suffix _dlq and set the max receives in the redrive policy based on the max_retries parameter

Bogdanp commented 6 years ago

Looks great! Mind adding a test to make sure it works as expected?

pjsier commented 6 years ago

Yep, sorry for missing that. Added that and rebased it here

Bogdanp commented 6 years ago

Thanks! Merged and released as version 0.0.10!