4 ms·
When do you record the message as processed? If you do it before the processing is complete, you have at-most-once delivery (because processing could fail after
by HiJon89 4y ago
When do you record the message as processed? If you do it before the processing is complete, you have at-most-once delivery (because processing could fail after you've recorded it as processed, and it won't be retried). If you do it after the processing is complete, you have at-least-once delivery (because marking the message as processed could fail, and it will be retried).