alphasights / sneakers_handlers

Retries with exponential backoff for sneakers
MIT License
33 stars 11 forks source link

Allow for exchange types besides topic #22

Closed Bandes closed 7 years ago

Bandes commented 8 years ago

We want to use something like this with a fanout exchange, but it seems that this solution only works with a topic exchange (topic looks like it's hardcoded) - could this be adapted to allow for other types of exchanges, and to respect the config option for exchange type?

brianstorti commented 7 years ago

Hey, @Bandes, sorry it took so long to answer, I somehow missed this issue. We just shipped a change that allow us to use the RetryHandler and the DeadLetterHandler with fanout exchanges.