config path

This commit is contained in:
wangchuxiao
2023-02-24 11:13:16 +08:00
parent 66aaa9b152
commit 92764b3727
13 changed files with 51 additions and 51 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ func (p *Producer) SendMessage(m proto.Message, key string, operationID string)
partition, offset, err := p.producer.SendMessage(kMsg)
log.Info(operationID, "ByteEncoder SendMessage end", "key ", kMsg.Key.Length(), kMsg.Value.Length(), p.producer)
if err == nil {
prome.PromeInc(prome.SendMsgCounter)
prome.Inc(prome.SendMsgCounter)
}
return partition, offset, utils.Wrap(err, "")
}