by anonu · 6y ago · 0 comments
RPC over Rabbit is fine if you don't care about the result, or you can guarantee that each message gets processed in a short constant time.
1) Don't requeue on error. One bad message could bring down your entire service. Better to just push it to Sentry and make a fix for it.
2) Have a timeout in your message handler.