This commit is contained in:
Gordon
2022-05-11 18:54:22 +08:00
parent ab747d0338
commit 9a90c2e568
2 changed files with 2 additions and 1 deletions
@@ -19,7 +19,6 @@ type OfflineHistoryConsumerHandler struct {
}
func (mc *OfflineHistoryConsumerHandler) Init(cmdCh chan Cmd2Value) {
log.Debug("ts", config.Config.Kafka.ConsumerGroupID.MsgToMongoOffline, config.Config.Kafka.Ws2mschatOffline.Topic)
mc.msgHandle = make(map[string]fcb)
mc.cmdCh = cmdCh
mc.msgHandle[config.Config.Kafka.Ws2mschatOffline.Topic] = mc.handleChatWs2Mongo