mirror of
https://github.com/uber-common/node-kafka-rest-client.git
synced 2026-02-01 17:27:30 +00:00
fix bug
This commit is contained in:
parent
7acb946352
commit
87dcff93b3
@ -269,7 +269,7 @@ KafkaBaseProducer.prototype.produceSync = function produce(topic, producerRecord
|
||||
producerRecord.value, Date.now() / 1000, 'binary');
|
||||
self._produce(produceMessage, callback);
|
||||
|
||||
if (self.isHeatPipeTopic(topic) && self.enableAuditC3 && topic !== self.auditTopicNameC3) {
|
||||
if (self.restClient.isHeatPipeTopic(topic) && self.enableAuditC3 && topic !== self.auditTopicNameC3) {
|
||||
var timeBeginInSecC3 = self._getTimeBeginInSecFromHp(producerRecord.value);
|
||||
self._auditNewMsg(topic, timeBeginInSecC3, 1, self.topicToMsgcntMapsAtProduce);
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user