Stream client not always recovering after a server restart #622
-
Hello, rabbitmq version: 3.13.7 RabbitMQ server (one node) and java application running in docker on the same server. we are experiencing some unstable behavior in the connection recovery of the stream-client. There is no pattern in when this happens. It seems (but can be random) that when the setup is done with TLS, the problems occur more often, but it also sometimes works and also without TLS these problems can occur. -> some code snippets for environment, stream, consumer, producer creation
Any thoughts or ideas on this situation are appreciated. Regards, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
Can you share a standalone project with instructions that reproduces the problem? Thanks. |
Beta Was this translation helpful? Give feedback.
-
I have some extra information regarding this problem: It seems that the number of threads available for the ScheduledExecutorService of the StreamEnvironment has an influence on the recovery stability. (rabbitmq version 4.0.3 and stream client version 0.21.0) Any ideas on this behavior? Thanks, |
Beta Was this translation helpful? Give feedback.
We released 0.22.0 yesterday with some improvements in recovery, can you give it a try?
As suggested above, a standalone project that reproduces the issue (on any machine, whatever the number of CPUs) would be useful to investigate the issue.