2017-05-09 128 views

回答

0

使用node-rdkafka代替。它工作得很好。你可以犯下类似于

consumer.commit({ topic: data.topic, partition: data.partition, offset: data.offset + 1 }, function(err, data) {})