修复百度上不去问题

This commit is contained in:
崔一鸣
2019-06-09 20:00:44 +08:00
parent bfc9e83fd5
commit c510a81e01
5 changed files with 229 additions and 53 deletions

View File

@@ -137,6 +137,9 @@ error_out:
}
int kni_send_logger_sendlog(kni_send_logger *handle, char *log_msg, int log_msg_len){
if(handle->sendlog_switch == 0){
return 0;
}
void *logger = handle->local_logger;
//kafka produce
int kafka_status = rd_kafka_produce(handle->kafka_topic, RD_KAFKA_PARTITION_UA, RD_KAFKA_MSG_F_COPY,