Problems with PHP consuming large tasks #11740
-
Is your feature request related to a problem? Please describe.Using PHP as a RabbitMQ consumer, consumption tasks may be very time-consuming. The default heartbeat of RabbitMQ is 60s. Because of the way PHP works, it does not send heartbeats when consuming. When no heartbeat is received, RabbitMQ will think that the PHP consumer is offline and re-deliver the unacked task. How to solve this problem Describe the solution you'd likeCan be processed normally, messages should not be delivered repeatedly Describe alternatives you've consideredNo response Additional contextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@runtu666 please never again file issues for questions in repositories that have Discussions enabled. Any traffic counts for a heartbeat with other clients. Use a client that does not have this limitation. The heartbeat timeout can be configured, and there is an alternative that often is good enough. All of this has been documented for many years. |
Beta Was this translation helpful? Give feedback.
@runtu666 please never again file issues for questions in repositories that have Discussions enabled.
Any traffic counts for a heartbeat with other clients. Use a client that does not have this limitation.
The heartbeat timeout can be configured, and there is an alternative that often is good enough. All of this has been documented for many years.