This commit is contained in:
Gordon
2022-05-11 19:21:28 +08:00
parent dc6b0b4dde
commit cec5a6ceeb
2 changed files with 2 additions and 2 deletions
@@ -101,7 +101,7 @@ func (mc *OfflineHistoryConsumerHandler) ConsumeClaim(sess sarama.ConsumerGroupS
log.NewDebug("", "new session msg come", claim.HighWaterMarkOffset(), claim.Topic(), claim.Partition())
for msg := range claim.Messages() {
log.NewDebug("", "kafka get info to mongo", "msgTopic", msg.Topic, "msgPartition", msg.Partition, "msg", string(msg.Value), "offline")
log.NewDebug("", "kafka get info to delay mongo", "msgTopic", msg.Topic, "msgPartition", msg.Partition, "msg", "offline")
mc.msgHandle[msg.Topic](msg.Value, string(msg.Key))
}
//select {