作者 唐旭辉

.

@@ -3,7 +3,6 @@ package consumer @@ -3,7 +3,6 @@ package consumer
3 import ( 3 import (
4 "github.com/Shopify/sarama" 4 "github.com/Shopify/sarama"
5 "github.com/astaxie/beego/logs" 5 "github.com/astaxie/beego/logs"
6 - "gitlab.fjmaimaimai.com/mmm-go/partnermg/pkg/port/consumer/handles"  
7 ) 6 )
8 7
9 //TopicHandle 处理kafka中得消息 8 //TopicHandle 处理kafka中得消息
@@ -19,5 +18,5 @@ var TopicHandleRouters = map[string]TopicHandle{ @@ -19,5 +18,5 @@ var TopicHandleRouters = map[string]TopicHandle{
19 message.Timestamp, message.Topic, message.Offset, string(message.Value)) 18 message.Timestamp, message.Topic, message.Offset, string(message.Value))
20 return nil 19 return nil
21 }, 20 },
22 - "xiangmi-orders": handles.DataFromXiangMi, 21 + //"xiangmi-orders": handles.DataFromXiangMi,
23 } 22 }