pull/232/head
Gordon 3 years ago
parent 8753f91a4a
commit ab747d0338

@ -19,6 +19,7 @@ type OfflineHistoryConsumerHandler struct {
} }
func (mc *OfflineHistoryConsumerHandler) Init(cmdCh chan Cmd2Value) { 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.msgHandle = make(map[string]fcb)
mc.cmdCh = cmdCh mc.cmdCh = cmdCh
mc.msgHandle[config.Config.Kafka.Ws2mschatOffline.Topic] = mc.handleChatWs2Mongo mc.msgHandle[config.Config.Kafka.Ws2mschatOffline.Topic] = mc.handleChatWs2Mongo

Loading…
Cancel
Save