frankjkelly commented on issue #403:
URL: 
https://github.com/apache/pulsar-client-go/issues/403#issuecomment-2152456295

   > > if my various paths through the code don't result in an Ack or Nack
   > > will the message be redelivered to existing consumers - it sounds like 
the answer is no.
   > 
   > No. You should either use `Nack` or `ReconsumeLater` to redelivery those 
messages.
   
   Thanks - A pity there's no way to have a `defer` block where I could inspect 
the message ack state and ensure it is acked or nacked. I probably just need to 
rewrite my code to have all the ack/nack handling in one place.
   
   
   
   


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

To unsubscribe, e-mail: commits-unsubscr...@pulsar.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to