md_context.topic =rd_kafka_topic_new(producerConfig->rk, StringValuePtr(topicStr),NULL); }else{ md_context.topic =NULL; } err = producer_metadata_request(&md_context);if( err != RD_KAFKA_RESP_ERR_NO_ERROR ) {// annoyingly, this is always a timeout error -- the rest rdkafka ju...
REFCNT DEBUG: &(s_rkt)->rkt_refcnt 1526 -1: 0x6ad080: rd_kafka_topic_destroy:87 REFCNT DEBUG: &(s_rkt)->rkt_refcnt 1525 -1: 0x6ad080: rd_kafka_topic_destroy:87 REFCNT DEBUG: &(s_rkt)->rkt_refcnt 1524 -1: 0x6ad080: rd_kafka_topic_destroy:87 REFCNT DEBUG: &(s_rkt)->r...
after using topic admin api to make a manual topic with custom replicas and topic leader, use rd_kafka_topic_new to get rd_kafka_topic_t* type object and then segmentfault inrd_kafka_MetadataRequestsomehow. I find it uncommentrd_kafka_event_destroy(rkev)this line will not reproduce the pr...