-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
fix hang on sync send if the connection has been closed #90
Conversation
I think this is basically trying to solve the same problem as #55? That has some unresolved issues as well, but I think I prefer doing this generically in the broker rather than special-casing it in the producer just because the producer happens to be the first one we noticed with this problem. It does theoretically affect other parts of the code as well, so I'd rather fix it just once. |
I believe this was done when #96 was merged, let me know if it's still an issue. |
Here's where sarama is sitting, after 10 min. The default timeout is 1 min ya? do I have to set it explicitly somewhere for it to have effect?
|
ahhhh, this is the same issue as #65 |
I do not believe this is the right fix for this issue, but we can continue this discussion on the other bug |
👍 |
10 second timeout on sync sends, close broker producer and broker if send times out
Fixes the hang I reported in my comments on #73
closing the broker producer and broker results in the connection being established when the broker comes back