[Consumer] rd_kafka_destory hang while upgrading librdkafka from version 0.11.4 to 2.0.2 #4216
Replies: 2 comments
-
Hi Experts / @edenhill , Can some one please reply on this ? this is blocking the librdkafka and Kafka broker upgrade. Thanks. Regards, |
Beta Was this translation helpful? Give feedback.
0 replies
-
The above-mentioned issues were resolved for me after updating the generic configuration parameter
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We are upgrading librdkafka from 0.11.4 to 2.0.2, along with upgrading of Kafka broker from 2.8 to 3.4. As part of this upgrade, we could see many flags were deprecated and some default values are changed. But the major change, we see is
broker.version.fallback
changed to0.10.0
.With the latest version of librdkafka and Kafka broker (
broker.version.fallback => 0.10.0
), we could see our consumer client hang and created core dump atrd_kafka_destroy
. We made sure that all messages, topic, topic partitions are released before callingrd_kafka_destory
. Made sure we followed the termination sequence. Adding the logsAdding the stack trace /
But, when we change the
broker.version.fallback => 0.9.0
andapi.version.request => false
in the latest librdkafka version, we are not seeing any issues. The application works fine.api.version.request => false
andbroker.version.fallback => 0.9.0
. Does this consider a valid upgrade?Adding the application logs with librdkafka (debug => all) logs.
librdkafka_2_0_2_broker_version_fallback_0_10_0.log
librdkafka_2_0_2_broker_version_fallback_0_9_0.log
Stack_Trace_librdkafka_2_0_2_broker_version_fallback_0_10_0.txt
Beta Was this translation helpful? Give feedback.
All reactions