You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/07/21 07:43:47 UTC

[GitHub] [pulsar-client-go] kwenZh commented on issue #200: short read when reading frame size

kwenZh commented on issue #200:
URL: https://github.com/apache/pulsar-client-go/issues/200#issuecomment-1191155080

   > > Thanks @mileschao for the feedback, the problem seems to be an error reading the message format. Can you provide more information?
   > 
   > It is a weird problem. I create a simple client (with the latest version on master branch), and publish messages continually to the pulsar server for a long time. sometimes, the `Short read when reading frame size` error level log will appear.
   > 
   > I think it is hard to reproduce.
   > 
   > My real question is: Is there any way to deal with it? cause it just break the for loop and log it in the code. and I can not find any way to deal with this error, for example, reconnect, or recreate. Thx for your time. :-)
   
   
   https://github.com/apache/pulsar-client-go/blob/master/pulsar/internal/connection_reader.go#L51
   in this run exception , this gorutine will break and exit for. so never retry conn?
   


-- 
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-unsubscribe@pulsar.apache.org

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