rd_kafka_consumer_close indefinitely blocks application life if the broker is unreachable #4567
Unanswered
andreamartini
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi to all.
I use librdkafka 2.3.0 on windows 10 and visual studio 2019 (c++). If broker kafka is unreachable (i.e. no network available), library is able to detect the error. And it is ok. In this case, unfortunally, i can't complete my application exit procedure, becouse the rd_kafka_consumer_close (or rd_kafka_destroy) call is a blocking call. I get back application control when broker become reachable again. Is there a way to avoid the above mentioned block?
Thank you in advance.
Andrea
Beta Was this translation helpful? Give feedback.
All reactions