-
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
Unexpected user-specified time limit error #1562
Comments
So your configured |
@dnwe In fact, I increased one of the time-related value which is |
The same problem on my online environment, @dnwe modifying MaxWaitTime doesn't solve this problem. @kimtree you can try to modify the following parameters
This problem is caused by frequent refresh of metadata, since see #1544 @kimtree if you merge #1544 code, Sorry again for your troubles |
fixed by #1544 |
This problem is caused by offset manager commit offset https://github.com/Shopify/sarama/blob/82c97b2bcec5c4f3fca4dc0aa9b2013d8976cc47/offset_manager.go#L237 I suggest you use the following configuration, try it
offset manager flushToBroker function should be add retry feature |
@antsbean Thanks for the information. But the configurations seem quite complicated. Do you have a simpler version of this configurations which handle an essential part of resolving the |
|
@antsbean Thanks for pointing out. Let me ask for more detail. As you mentioned before, you thought As I understand, |
@kimtree offset manager and consumer group use same broker. Frequent sending of messages to kafka server causes processing timeout. |
@antsbean The |
offset manager flushToBroker function should be add retry feature |
sorry, I've been busy recently.
|
@antsbean No problem! |
@antsbean ping? |
Versions
Please specify real version numbers or git SHAs, not just "Latest" since that changes fairly regularly.
Configuration
What configuration values are you using for Sarama and Kafka?
Logs
When filing an issue please provide logs from Sarama and Kafka if at all
possible. You can set
sarama.Logger
to alog.Logger
to capture Sarama debugoutput.
logs: CLICK ME
Problem Description
I got unexpected user-specified time limit errors from Kafka server while consuming. I'm not sure what
user-specified time limit
value from Sarama config. Do I have to take a look at our Kafka server's configurations?Below is the code where the error comes from.
The text was updated successfully, but these errors were encountered: