Update lirenjie_vxlan_sapp.c
This commit is contained in:
@@ -127,9 +127,9 @@ static int init_kafka(int partition_, char *brokers_, char *topic_)
|
||||
/* Quick termination */
|
||||
snprintf(tmp, sizeof(tmp), "%i", SIGIO);
|
||||
rd_kafka_conf_set(conf, "internal.termination.signal", tmp, NULL, 0);
|
||||
rd_kafka_conf_set(conf, "queue.buffering.max.messages", "1000000", kafka_errstr, sizeof(kafka_errstr));
|
||||
rd_kafka_conf_set(conf, "topic.metadata.refresh.interval.ms", "600000",kafka_errstr, sizeof(kafka_errstr));
|
||||
rd_kafka_conf_set(conf, "request.required.acks", "1", kafka_errstr, sizeof(kafka_errstr));
|
||||
rd_kafka_conf_set(conf, "queue.buffering.max.messages", "1000000", errstr, sizeof(errstr));
|
||||
rd_kafka_conf_set(conf, "topic.metadata.refresh.interval.ms", "600000",errstr, sizeof(errstr));
|
||||
rd_kafka_conf_set(conf, "request.required.acks", "1", errstr, sizeof(errstr));
|
||||
/*topic configuration*/
|
||||
topic_conf = rd_kafka_topic_conf_new();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user