wolfstudy commented on issue #389:
URL: 
https://github.com/apache/pulsar-client-go/issues/389#issuecomment-727841014


   > After reconnecting, the consumer starts to read already read but unacked 
messages.
   
   Yes, this is the correct behavior. When a connection is established for the 
first time, messages 0, 2, 4, 6, and 8 will be acked. When reconnecting, the 
broker will re-send these unacked messages 1, 3, 5, 7, and 9 to the client. At 
this time, the messages may be repeated, so there is no way to guarantee the 
order of the messages, so you may encounter the situation you saw above.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to