Replies: 1 comment 3 replies
-
I'm afraid that's not at all "in detail". A detailed report would be an executable way to reproduce, or at least an example app with a set of step-by-step instructions about how exactly the connection is set up, and so on. You cannot claim that a "crashing consumer" (whatever exactly that means) is a responsibility of Bunny. You are responsible for how your own applications react to node failures. Bunny offers a part of a solution that is covered in the error handling guide. In my tests, Bunny recovers just fine, after repeated recoveries and RabbitMQ node shutdown. In fact, I observe this regularly during RabbitMQ's own development where I sometimes use Bunny connections from a REPL, and they recover without failure every time I recompile and restart the local node. Having an exception in the log does not mean that the "consumer crashes". There will be an exception and errors logged when a connection fails to reconnect, by design. Finally, there are recovery-related settings that limit the number of recovery attempts By default there is no limit and the recovery times counter is reset. |
Beta Was this translation helpful? Give feedback.
-
Hello Guys,
I am facing a problem with crashing the rabbitMQ consumer during the restart of the AMQP server.
My rails application with following versions:
ruby -2.6.6
Rails - 5.2
bunny-2.22.0 -> with automatic_retry: true and no retry limit set
The issue in details:
Retrying connection on next host in line: 127.0.0.1:5672
, during this period consumer will not closeBeta Was this translation helpful? Give feedback.
All reactions