Replies: 1 comment 4 replies
-
|
It is normal to have errors logged while restarting the node. The client library should keep trying until it recovers the consumers though. We'd appreciate a standalone project with instructions to reproduce. If you can only reproduce in your environment, try to set the log level to debug for both the broker and the client ( |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
We have a setup with a RabbitMQ server (one node) and java application (one node) that uses the stream-client, both running in docker on the same server.
After normal startup, our application produces and consumes messages to and from a rabbitmq super stream (8 partitions, two consumers, single active consumer).
When we shutdown the rabbitmq server for more than 3 minutes and then restart it (restart is always within a few seconds), the stream always become available again at the server side and the client producer seems to be ok, but the consumers do not come back up and we have to restart the java app. The logs seem to be showing reconnection attempts that fail with errors like
Error while opening connection rabbitmq-stream-consumer-54: Could not get response in 10000 ms from node glrabbitmq:5552 (client) and
reason: {request_timeout,<<"Request timeout">>}, reason: reached_max_restart_intensity, Closing connection because of timeout in state 'peer_properties_exchanged' likely due to lack of client action (server)
When testing when the server was down for about one minute, the consumers always recover and our application can start producing and consuming again without rebooting.
I can not reproduce this behaviour on my local system.
Any ideas on this behaviour would be appreciated.
Regards,
Ben
Beta Was this translation helpful? Give feedback.
All reactions