title: How to address RdKafka::ERR__TIMED_OUT and RdKafka::ERR__MSG_TIMED_OUT in librdkafka?
body: <p>I am working on C++ kafka client <strong>librdkafka</strong>. Looking into the example <a href="https://github.com/edenhill/librdkafka/blob/master/src-cpp/rdkafkacpp.h" rel="nofollow">https://github.com/edenhill/librdkafka/blob/master/src-cpp/rdkafkacpp.h</a> and <a href="https://github.com/edenhill/librdkafka/blob/master/examples/rdkafka_example.cpp" rel="nofollow">https://github.com/edenhill/librdkafka/blob/master/examples/rdkafka_example.cpp</a>, it seems that there is no process of connecting to broker? How to do some reconnect staff for these connection errors? How to check the connection status?</p>