| CPC H04L 51/23 (2022.05) [G06F 9/546 (2013.01)] | 20 Claims |

|
1. A computer-implemented method when executed by data processing hardware causes the data processing hardware to perform operations comprising:
receiving, at a message queue of a message queue system, a plurality of messages, each message of the plurality of messages associated with a respective index value indicating an order the respective message was received;
establishing a first connection session with the message queue;
after establishing the first connection session with the message queue, processing the plurality of messages in an order that the plurality of messages were received;
determining that the first connection session has ended prior to processing each of the plurality of messages in the message queue;
based on determining that the first connection session has ended, identifying an oldest message remaining in the message queue after the first connection session has ended;
determining a watermark based on a buffered timestamp of the oldest message remaining in the message queue, the buffered timestamp indicating a fixed amount of time after the oldest message was received at the message queue;
determining a starting message from the plurality of messages based on the watermark, the starting message corresponding to the oldest message of the plurality of messages that was not processed prior to an end of the first connection session;
determining an identifier for the starting message, the identifier comprising the respective index value of the starting message;
establishing a second connection session with the message queue; and
in response to establishing the second connection session with the message queue:
identifying the starting message using the identifier; and
processing, from the starting message, the plurality of messages in the order that the plurality of messages were received.
|