I am developing an RabbitMQ consumer with pika 0.10.0, and python 2.7 version.In my consumer client, I have a process that runs for a time period depending on input message. It can vary from 3 to 40 minutes. I do not want to disable heartbeat. Instead I am looking for some collback mechanism that can keep the connection alive until the delivery_tag is sent back. Is that possible?
Few link I got, all are suggesting to disable the heartbeat as workaround. But I do not want to disable it.
Ref:
Socket Error: 104 consuming messages with task that take a long time #753
BlockingConnection gets closed unexpectedly #734
Also, please let me know if any extra information is required. Thanks in advance.