Better error handling in base consumer implementation.#479
Better error handling in base consumer implementation.#479
Conversation
vumi/service.py
Outdated
There was a problem hiding this comment.
Why does this need to return a deferred?
… was supposed to put in it. :/
|
Ready for review. There are two equivalent implementations of |
|
Since it turned out to be a little more convoluted than I'd thought to get rid of the |
|
👍 from my side on this change. The only thing we may be overlooking is that previously the consume method could return |
|
What's stopping this from landing? Am I missing some major objections from people? |
|
Although I like the errback support and plan to keep it, I think the real solution here is:
Thoughts? |
|
Modification (suggested by @jerith):
|
…d letter exchange.
|
I've actually changed my mind on how this should be done initially. I think we should:
|
|
I think the existing rabbitmq management plugin already goes a long way to seeing exchanges, queues and has the ability to inspect queues & re-queue. |
Currently
vumi.serviceconsumers don't handle errors very well. Errors should be logged ,rejectedand sent back to RabbitMQ for retrying (for a start).