Can't connect to brocker with examples consumer/producer #4707
-
Hello all, I'm trying to use rdkafka (2.3.0) with a brocker and KRaft (3.7.0) but it ended each time with "1/1 brokers are down" with the 2 examples producer or consumer after the ApiVersionRequest .
It's working fine with kafka-console-producer.sh and kafka-console-consumer.sh from the kafka package. Any ideas ? Thanks in advance full log from the producer :
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, I am struggling with same issue right now. I have compiled librdkafka 2.4.0 on my AIX 7.2 and rdkafka_example gives me the same error: librdkafka-2.4.0/examples> ./rdkafka_example -P -t aix_topic -b kafka:9092 1716205391.433 RDKAFKA-3-FAIL: rdkafka#producer-1: [thrd:kafka:9092/bootstrap]: kafka:9092/bootstrap: Receive failed: Error 0 (after 0ms in state UP) After some debugging, I have found out, that AIX has the same issue with errno setting like SUN. AIX "me too" section below fixed it. src/rdkafka_transport.c
To be correct, I fixed also sendmsg case.
|
Beta Was this translation helpful? Give feedback.
Hi, I am struggling with same issue right now. I have compiled librdkafka 2.4.0 on my AIX 7.2 and rdkafka_example gives me the same error:
librdkafka-2.4.0/examples> ./rdkafka_example -P -t aix_topic -b kafka:9092
1716205391.433 RDKAFKA-3-FAIL: rdkafka#producer-1: [thrd:kafka:9092/bootstrap]: kafka:9092/bootstrap: Receive failed: Error 0 (after 0ms in state UP)
1716205391.433 RDKAFKA-3-ERROR: rdkafka#producer-1: [thrd:kafka:9092/bootstrap]: 1/1 brokers are down
After some debugging, I have found out, that AIX has the same issue with errno setting like SUN. AIX "me too" section below fixed it.
src/rdkafka_transport.c