-
Notifications
You must be signed in to change notification settings - Fork 29
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
Metadata on consumer can present UNKNOWN_TOPIC_OR_PART error #105
Comments
Occurs every time .kfk.Metadata[client] called after subscription is made (e.g. call twice, get 2 UNKNOWN_TOPIC_OR_PART msgs). |
Created librdkafka issue confluentinc/librdkafka#4589 (can see same occurrence without using kdb+). |
running test_consumer.q, test_producer.q now presents meta info better test_consumer.q also now prevented from producing erroneous UNKNOWN_TOPIC_OR_PART msg
Update now on linked issue. May be issue with librdkafka. To try possible fix. |
Tested with the pending librdkafka pull request - bug still appears to be there. Informed librdkafka dev. Current workaround is to do any metadata request prior to subscription. |
bug doesnt occur with v2.0.2 of librdkafka. will await response from librdkafka devs. |
looks like its working again on latest pr change to librdkafka (issue linked above). tested with kdb+. will await future librdkafka release to see if it makes it in. |
Fixed in underlying librdkafka 2.4.0 |
Running
.kfk.Metadata[client];
from consumer can present callback msg as follows:when doing this after doing a subscribe, it can make it look like the subscription had failed (when it hasn't).
Temp removing
.kfk.Metadata[client];
after any subscription, the callback no longer fires with a UNKNOWN_TOPIC_OR_PART. It doesn't appear to stop the subscription from occurring, whether its there or not.Will find out why & change this effect
The text was updated successfully, but these errors were encountered: