RabbitMQ 3.12 - Unexpected Channel shutdown ERROR with NACKS RECEIVED message #10536
-
Hello everyone,
Before updating the rabbitMQ version (old version RabbitMQ 3.8.27) there were no logged errors of this kind. We use the same spring boot application to access both cluster environments. We are using spring boot 2.7.18. Do you have any suggestion regarding root cause and possible solutions in server side or client config ? I want to run some performance test by using the https://perftest.rabbitmq.com/ but i don't know which parameters should i use to simulate / re-generated NACKS RECEIVED case. Thanks in advance. Ramazan |
Beta Was this translation helpful? Give feedback.
Replies: 5 comments 8 replies
-
I don't recall ever seeing a "NACKS RECEIVED" normal close. We normally suppress normal close logs (but only with "OK" text). BTW, I am no longer involved with the spring-amqp project; cc: @artembilan |
Beta Was this translation helpful? Give feedback.
-
@ramazangirgin what would assist us GREATLY is for you to provide a simple, console-based project that I can clone, compile, and run to see this issue. I am not a Java expert and it would take me some time to get a project going. Anything you can do to make it easy for us to reproduce this issue saves us time, and then we can focus on explaining it and fixing it. |
Beta Was this translation helpful? Give feedback.
-
suggests that RabbitMQ responds with nacks. A traffic capture will be able to confirm it. Node logs may be able to provide certain clues, although not with every queue overflow behavior. |
Beta Was this translation helpful? Give feedback.
-
Just to trace everything together: So, @michaelklishin , @lukebakken , Thanks |
Beta Was this translation helpful? Give feedback.
-
Hi all, thank you for all responses and comments. |
Beta Was this translation helpful? Give feedback.
Note that Spring can be configured to return unroutable messages to the application - when using publisher confirms, it is particularly easy because the future in the
CorrelationData
is completed after any returned message is added to theCorrelationData
.You can also use a callback to get returned messages asynchronously.
See https://docs.spring.io/spring-amqp/reference/amqp/template.html#template-confirms