-
Notifications
You must be signed in to change notification settings - Fork 442
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
producer: unexpected io.EOF when calling Stop #184
Comments
I thought I remembered an old issue related to this but I can't seem to find one. Looking at the code, we trap "closed connection" errors (ones that we expect would be the direct result of calling Can you provide a simplified reproducible test case? |
Yeah io.EOF seemed very unexpected to us as well looking at the code. I linked the test case we're doing below, but it's not very deterministic. If you can't get it to error, try playing around with the message size or the number of batches. https://gist.github.com/larzconwell/767daa616e4718dc2d4bc0b3e4495599 |
@larzconwell you're using an old import in that example |
I can't reproduce using your example with the fixed import path and latest of
|
Oh yes we are currently using an old version, but I tested it again with the latest at this repo and I'm still getting it. Though I'll say the messages are being sent and everything seems correct. Looking into it more, the error is occurring here. Maybe it should check if EOF as well as closed network connection? |
+1 @mreiferson i think may be error logs does not printed all. so try add 'time.Sleep(time.Second * 3)' see below :
|
Any updates on this issue ?
|
Still need a reproducible test case... |
Does this help ? Standalone example: https://gist.github.com/CodingMinds/e764f8c5c0d256b49251bb2cdf589de4 |
fixed in #201, sorry for the delay! |
nsqd v1.1.0 (built w/go1.10.3)
|
We're calling Stop on a NSQ producer, and we're getting the following output after a number of MultiPublishes. Is this io.EOF error expected? We're using the tag 1.0.6.
The text was updated successfully, but these errors were encountered: