Home > Back-end >  The rabbitmq response patterns (AcknowledgeMode) problems
The rabbitmq response patterns (AcknowledgeMode) problems

Time:12-23

Question 1: the rabbitmq response patterns AcknowledgeMode (NONE/MANUAL/AUTO), usually want to use what kind of? Project before we use MANUAL MANUAL response, but once there is exception message format will be blocking queue, influence on the speed of consumption, in order to avoid blocking behind to NONE, but recently found that the peak occasionally has the phenomenon of missing, isn't it better to MANUAL, update the consumer end processing logic, compatible with different message format?
Problem 2: there is a customer need to pass the rabbitmq push messages, manual for retransmission mechanism at present, there is no default retransmission if an ack is received five times, the phenomenon is full five times, each time and see the ack of log (impression function just finished development ack is ok), but no problem, ask the customer feedback push publisherConfirms (true), it has been set to true, want to ask next to be the problem? Is the updated the rabbitmq server configuration is over there, cause no ack?
Please bosses give directions
  • Related