You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to handle nsqd responses to msg.Touch(), msg.Requeue() etc..?
I have a worker that polls a resource and calls msg.Touch() to indicate work is still being done, but i've seen some logs like E_TOUCH_FAILED TOUCH 09d43c267ec2a069 failed ID not in flight, is there a way to detect that a message is not in-flight and discard it?
The text was updated successfully, but these errors were encountered:
The message isn't in-flight because either it timed out inside nsqd and was requeued or you finished it elsewhere. There's no way to detect these failures between nsqd and go-nsq; additionally, nsqd doesn't send this type of status message back to go-nsqd.
It sounds like you might need to either reduce the interval before calling Touch or increase the msg timeout inside nsqd.
Is there a way to handle nsqd responses to
msg.Touch(), msg.Requeue()
etc..?I have a worker that polls a resource and calls
msg.Touch()
to indicate work is still being done, but i've seen some logs likeE_TOUCH_FAILED TOUCH 09d43c267ec2a069 failed ID not in flight
, is there a way to detect that a message is not in-flight and discard it?The text was updated successfully, but these errors were encountered: