Skip to content
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

Protocol read buffer underflow #1660

Closed
1 of 7 tasks
Frank-AFN opened this issue Jan 31, 2018 · 4 comments
Closed
1 of 7 tasks

Protocol read buffer underflow #1660

Frank-AFN opened this issue Jan 31, 2018 · 4 comments
Labels

Comments

@Frank-AFN
Copy link

Read the FAQ first: https://github.com/edenhill/librdkafka/wiki/FAQ

Description

I got warning just like fowlling.
%3|1517371075.308|PROTOUFLOW|rdkafka#producer-1| [thrd:xx.xxx.xx.xx():9092/bootstrap]: xx.xx.xxx.xx:9092/5: Protocol read buffer underflow at 44/44 (rd_kafka_handle_Produce_parse:1751): expected 4 bytes > 0 remaining bytes (incorrect broker.version.fallback?)

How to reproduce

<your steps how to reproduce goes here, or remove section if not relevant>

IMPORTANT: Always try to reproduce the issue on the latest released version (see https://github.com/edenhill/librdkafka/releases), if it can't be reproduced on the latest version the issue has been fixed.

Checklist

IMPORTANT: We will close issues where the checklist has not been completed.

Please provide the following information:

  • librdkafka version (release number or git tag): 0.11.1.x
  • Apache Kafka version: 0.8.2
  • librdkafka client configuration: "queue.buffering.max.messages", "10000000"
  • Operating system: centos 7
  • Provide logs (with debug=.. as necessary) from librdkafka
  • Provide broker log excerpts
  • Critical issue
@edenhill
Copy link
Contributor

@Frank-AFN
Copy link
Author

I set the property
rd_kafka_conf_set(conf, "api.version.request", "false", errstr, sizeof(errstr));
But doesn't work.

@edenhill
Copy link
Contributor

@Frank-AFN
Copy link
Author

Thanks, It works!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants