2017-05-09 74 views

回答

0

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

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