Merge pull request #60 from navi-ppl/TP-5555/limit-logs
TP-5555 | service log limit
This commit is contained in:
@@ -60,10 +60,10 @@ func (kp *KProducerImpl) PublishEvent(msgPayload interface{}, topic, key string,
|
||||
log.Log.Info("failed to deliver message:",
|
||||
zap.Int32("topic partition", message.TopicPartition.Partition))
|
||||
} else {
|
||||
log.Log.Info("delivered to topic at offset",
|
||||
zap.String("topic", *message.TopicPartition.Topic),
|
||||
zap.Int32("partition", message.TopicPartition.Partition),
|
||||
zap.String("offset", message.TopicPartition.Offset.String()))
|
||||
//log.Log.Info("delivered to topic at offset",
|
||||
// zap.String("topic", *message.TopicPartition.Topic),
|
||||
// zap.Int32("partition", message.TopicPartition.Partition),
|
||||
// zap.String("offset", message.TopicPartition.Offset.String()))
|
||||
}
|
||||
|
||||
close(deliveryChan)
|
||||
|
||||
Reference in New Issue
Block a user