-
Notifications
You must be signed in to change notification settings - Fork 627
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix client socket when closing and error handling #314
Conversation
63b54ab
to
3fc804b
Compare
+1 |
3fc804b
to
b731f71
Compare
b731f71
to
f14c15d
Compare
I'll try to do a PR adding and fixing old unit tests. It's becoming Le lun. 18 janv. 2016 23:55, Jacob Groundwater notifications@github.com a
|
+1! Fixed issue for me, many thanks! |
Tested the correction. The Fix seems Ok. |
+1 |
1 similar comment
+1 |
+1 This fixes my issues. Thanks! It would be great to get this merged! |
THANK YOU SO MUCH |
Could this be merged anytime soon? :) |
@haio is there a way for this pr to be merge soon? |
Using this branch, if I kill my broker while the client is connect, I get the following error (I'm not at all familiar with the codebase, but I assume it just needs another level of defensive checking): Happy to play around on a branch, unless you feel like you know exactly what to do with this, @carlessistare?
|
Thanks a lot for the input @nandanrao could you show how the procedure for killing the worker? I'd like to reproduce the error, before fixing. |
Yeah so I see the same problem in both of these cases:
In both cases, the node-kafka library successfully throws this error, which I catch:
But soon after a couple of those are thrown, I get the broker-socket error, which crashes everything. Let me know if you have trouble reproducing! |
Well observed, I'll fix this behaviour as soon as I can |
You're saving my ass @carlessistare, thanks!! |
Hi @nandanrao I admit that I could not get exactly the same error than you, but this should fix your issue f62191f |
good job! |
Fix client socket when closing and error handling
resolve #313 resolve #311 resolve #300
Fix on error handling after PR #262