Delivery ack timeout on long running tasks

149 views
Skip to first unread message

Edward Yang

unread,
Oct 15, 2021, 5:23:42 PM10/15/21
to rabbitmq-users
Apologies as this post is a bit similar to a previous message (which I've deleted) to remove unnecessary details.

I have tasks that run for a long period of time (potentially longer than 24 hours).
My consumers create a new green thread on each consumed message, processes the task, and finally ack's the message.
Since a new green thread is created, heartbeats are not an issue.
I could remove the Delivery Acknowledgement Timeout, but it's recommended not to.
What are my options for this issue?

Loïc Hoguin

unread,
Oct 18, 2021, 5:22:29 AM10/18/21
to rabbitm...@googlegroups.com

Set the timeout to a value larger than the maximum you expect. You can set the timeout to 48 hours for example.

 

-- 

Loïc Hoguin

--
You received this message because you are subscribed to the Google Groups "rabbitmq-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rabbitmq-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/rabbitmq-users/63ba97e9-c667-4829-bd3a-bbd864f76244n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages