Open meldumm opened 7 months ago
what is config.From
? and what is GetCurrentSequence
doing?
Please post consumer and stream info.
However, that is just to confirm the situation you see:
Server send the missing messages while the client was disconnected. Those missing messages will get redelivered as soon as their AckWait
duration wil expire.
Observed behavior
After the NATS client reconnects, the sequence number does not match the expected sequence. The log shows a mismatch between the stored sequence number and the sequence number received from NATS. Here is an example from the logs:
Expected behavior
The expected behavior is that the sequence number should remain consistent and accurate after a reconnection. The NATS client should properly track and update the sequence number even after disconnections and reconnections
Server and client version
v1.32.0
Host environment
No response
Steps to reproduce