milos-matijasevic commented on issue #389:
URL: 
https://github.com/apache/pulsar-client-go/issues/389#issuecomment-727847548


   Thanks for the explanation, I agree with you.
   However, this won't happen if those 2 lines are commented, which brings on 
different behaviour depends on consumer options
   In my test case (with commented these 2 lines) the program will continue 
normally (as you can see above logs), and on reconnecting it will somehow ack 
all messages consumed till that moment
   
   Also, how is handled when a connection is closed and ack is called, how on 
reconnecting will that ack be processed correctly or it will be lost? As you 
mention it is fire and forget, but if a connection is closed it is not fired, 
so it is just lost?


----------------------------------------------------------------
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