<div dir="ltr">I have a basic work queue, and some work tasks are very fast. I can't predict whether a task will take 0.1s or 10min.<div><br></div><div>What I'd like to do is have the producer (HTTP web request) send a job to a worker, and wait for 3 seconds. If the job is done by then, then I can display "OK" to the user, else I stop waiting and I display "It will be effective soon".</div><div><br></div><div>A way to do this is using a RPC-style, bidirectional communication. That's unnecessarily complex because I don't need the result of the job.</div><div><br></div><div>Another way would be to simply wait for the ACK of the worker (task completed).</div><div><br></div><div>So my question: is there a way to wait for the ACK of a message (i.e. consumer finished processing it) on the producer side?</div><div><br></div><div>Thanks!</div></div>