-
-
Notifications
You must be signed in to change notification settings - Fork 120
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
Using partition_key
raises Local: Timed out
errors
#186
Comments
Does it happen when creating messages to existing topics or new topics (first message)? |
All existing topics. We have auto create set to false. |
To give a bit more context: we are using Heroku Kafka, so we don't have any access to logs on the Kafka side. |
Are you on the (Perhaps not helpful, but just clarifying that there are some mechanisms that allow access to logs when using heroku kafka). |
We are on
|
It just occurred to me that Heroku Kafka might be having an errror with the metadata request, but if we don't get a response within the According to their ACLs we should have |
Would you mind also telling me:
|
Of course!
|
FWIW: confluentinc/librdkafka#3705, there's a know issue in librdkafka that addresses some time out issues. The fix is only released in a RC1 release tho. |
This should be fixed, we are using 1.9.2 now. Let me know if there are still issues. |
We've recently started using
partition_key
when producing messages and started seeing a big number ofRdkafka::RdkafkaError: Local: Timed out (timed_out)
even with a small number of messages.IDK if this value needs to be memoized (at least for a short time?) or if anything else needs to be tweaked in order to get it to work reliably.
We attempted to increase all the
*.timeout.ms
variables to no avail. They would take longer to raise errors, but they'd still raise them.We were using an older version of
librdkafka
but even after updating to0.11.1
the error persisted.The specific line that was raising the error was this one:
https://github.com/appsignal/rdkafka-ruby/blob/76e6221492c9dba8224412cf3f202e91574089e8/lib/rdkafka/metadata.rb#L20
I'm unsure if this is a bug on
rdkafka-ruby
,librdkafka
or perhaps something misconfigured on our side. However we searched the documentation for anything that could lead us to a culprit but couldn't find anything. The error fromlibrdkafka
is rather generic: https://github.com/edenhill/librdkafka/blob/master/INTRODUCTION.md#error-local-time-outAny help is appreciated!
The text was updated successfully, but these errors were encountered: