-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
ERROR|rdkafka#producer-1| request(s) timed out: disconnect (average rtt #1663
Comments
You are getting some really bad rtt to the broker which could be caused poor batching on the producer: |
Hi edenhil, But i am seeing 2 problems now. Problem -1: Problems-2: I have 1 kafka broker in my system, can you please suggest any broker tuning parameters and any suggestible minimum HW configuration like cores and RAM for handing 10000 messages and each message size of 200 bytes. |
|
Description
I have c++ process which acts as producer for 1 topic and consumer for some other topic .
I have 1 kafka broker and i increased the kafka partitions to 3 still i am facing this problem .
some time c++ librdkafka producer is giving errors like this.
%3|1517317005.596|FAIL|rdkafka#producer-1| [thrd:192.168.122.189:9092/1]: 192.168.122.189:9092/1: 783 request(s) timed out: disconnect (average rtt 17153.227ms)
%3|1517317005.596|ERROR|rdkafka#producer-1| [thrd:192.168.122.189:9092/1]: 192.168.122.189:9092/1: 783 request(s) timed out: disconnect (average rtt 17153.227ms)
%3|1517317007.532|FAIL|rdkafka#producer-1| [thrd:192.168.122.189:9092/1]: 192.168.122.189:9092/1: 1834 request(s) timed out: disconnect (average rtt 17137.621ms)
%3|1517317007.532|ERROR|rdkafka#producer-1| [thrd:192.168.122.189:9092/1]: 192.168.122.189:9092/1: 1834 request(s) timed out: disconnect (average rtt 17137.621ms)
%3|1517317010.564|FAIL|rdkafka#producer-1| [thrd:192.168.122.189:9092/1]: 192.168.122.189:9092/1: 15 request(s) timed out: disconnect (average rtt 17119.293ms)
%3|1517317010.565|ERROR|rdkafka#producer-1| [thrd:192.168.122.189:9092/1]: 192.168.122.189:9092/1: 15 request(s) timed out: disconnect (average rtt 17119.293ms)
How to reproduce
NOTE: i have not created any test problem, i have already in build code which is doing the same.
Checklist
librdkafka version v0.11.0
Apache Kafka version: v2.11-0.11.0.2
The text was updated successfully, but these errors were encountered: