@brief Forward librdkafka logs (and debug) to the specified queue for serving with one of the ..poll() calls.
This allows an application to serve log callbacks (\c log_cb) in its thread of choice.
@param rkqu Queue to forward logs to. If the value is NULL the logs are forwarded to the main queue.
@remark The configuration property \c log.queue MUST also be set to true.
@remark librdkafka maintains its own reference to the provided queue.
@returns RD_KAFKA_RESP_ERR_NO_ERROR on success or an error code on error.
See Implementation
@brief Forward librdkafka logs (and debug) to the specified queue for serving with one of the ..poll() calls.
This allows an application to serve log callbacks (\c log_cb) in its thread of choice.
@param rkqu Queue to forward logs to. If the value is NULL the logs are forwarded to the main queue.
@remark The configuration property \c log.queue MUST also be set to true.
@remark librdkafka maintains its own reference to the provided queue.
@returns RD_KAFKA_RESP_ERR_NO_ERROR on success or an error code on error.