This commit is contained in:
Gordon
2022-05-30 19:31:09 +08:00
parent 3610525c88
commit 5392c9fd38
2 changed files with 3 additions and 1 deletions
@@ -55,6 +55,8 @@ func (pc *PersistentConsumerHandler) handleChatWs2Mysql(cMsg *sarama.ConsumerMes
if msgKey == msgFromMQ.MsgData.SendID {
tag = true
}
case constant.SuperGroupChatType:
tag = true
}
if tag {
log.NewInfo(msgFromMQ.OperationID, "msg_transfer msg persisting", string(msg))