-
Notifications
You must be signed in to change notification settings - Fork 345
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
short read when reading frame size #200
Comments
Thanks @mileschao for the feedback, the problem seems to be an error reading the message format. Can you provide more information? |
similar to this one #145 ? It's supposed to be fixed. Which commit are the client on @mileschao |
It is a weird problem. I think it is hard to reproduce. My real question is: |
Em. I've got the same error information, but, no pulsar proxy here. I just create a simple client, and continually publish messages to the pulsar broker. |
@mileschao do you encounter any issue when producing? or is the logging just an info logging? |
@sijie Thx for your attention. Yes, I can reproduce it frequently.
The real problem is, there is nothing I can do for this. |
@mileschao thank you for your reply. Does it impact your application? Or just an error message? |
producer will stop send message to pulsar cluster. for {
cmd, headersAndPayload, err := r.readSingleCommand()
if err != nil {
r.cnx.log.WithError(err).Info("Error reading from connection")
r.cnx.TriggerClose()
break
}
// Process
var payloadLen uint32
if headersAndPayload != nil {
payloadLen = headersAndPayload.ReadableBytes()
}
r.cnx.log.Debug("Got command! ", cmd, " with payload size: ", payloadLen)
r.cnx.receivedCommand(cmd, headersAndPayload)
} |
@mileschao The #237 has been merged, and i will close the issue. If you reproduce the problem again, or if there is any update, please reopen it, thanks. |
@wolfstudy
How could I deal with it? |
i encounter the same problem, have you resolved this problem? |
https://github.com/apache/pulsar-client-go/blob/master/pulsar/internal/connection_reader.go#L51 |
Hi.
While using pulsar client, I got
Question is:
what does this log mean?
what can I do for it, or, How could I deal with it?
Thx for your help.
@sijie @wolfstudy
The text was updated successfully, but these errors were encountered: