-
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
The prefetch count parameter applies only to the manual ACK scenario. The automatic ACK parameter does not take effect. If automatic ACK is set, the processing time is slow for consumers to process messages synchronously. As a result, the message generation speed of producers is much higher than the message consumption speed of consumers. As a result, the buffer of the channel is full. The solution is to change the ACK mode of the consumer to manual ACK and enable the prefetch count parameter, speed up the message processing speed of the consumer, or process messages asynchronously. |
Beta Was this translation helpful? Give feedback.
The prefetch count parameter applies only to the manual ACK scenario. The automatic ACK parameter does not take effect. If automatic ACK is set, the processing time is slow for consumers to process messages synchronously. As a result, the message generation speed of producers is much higher than the message consumption speed of consumers. As a result, the buffer of the channel is full. The solution is to change the ACK mode of the consumer to manual ACK and enable the prefetch count parameter, speed up the message processing speed of the consumer, or process messages asynchronously.