I’m using RabbitMQ with PHP (via php-amqplib). But server, where my consumer is running, has really unstable connection. So, each 15-30 minutes consumer losts connection to the remote rabbitmq server, but php daemon still running. Is there any solution to handle lossy connections in this case?
I’m using RabbitMQ with PHP (via php-amqplib). But server, where my consumer is running,
Share
You should use heartbeats for the connection but if the problem continues after that you’d better log the connection errors in order to verify what’s going on with the connectivity.