-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Client silently stops receiving after NodeNotReadyError #1572
Comments
OK, nevermind. Turns out someone used So, now, since the original request no longer reflects the reality, can I ask you to remove this feature? The motivation is similar to what I wrote earlier: there is no plausible explanation for why a client should stop receiving messages. Any situation when that happens is an error. Don't misunderstand me: users of the client may chose to stop receiving messages (simply by breaking out of the loop), but the client itself should not make such decisions on their behalf. Think about it the same way as you would think about operations on files: from filesystem, or from kernel's perspective, there is no plausible explanation for why would you like |
Reading further into documentation, I can see that this is barely a drop in a bucket of ideas that... are probably not yours, but Kafka's developers. All these timeouts make this system a fruitful ground for SW consultancy agencies, and, perhaps, only for them. Nevermind my previous request for removing this particular timeout setting. It won't change the overall picture, even if you do it. But, you probably won't do it anyways, because, why bother trying to put a small patch on the otherwise totally broken system? |
Below is a pseudo-code that illustrates the problem:
The
Should not happen
error is, in fact raised. In the logs, I can see this:Expected Result
I would expect that in case consumer decides to stop consuming it raises a relevant error, that allows the user code to adjust its operation accordingly, or, even better, deal with it internally, using some configurable policies, s.a. number of retries, or retry until deadline etc. It doesn't make sense to stop the consumer unless it is specifically requested by the user code, or an error condition occurs.
The text was updated successfully, but these errors were encountered: