mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-12-11 23:47:32 +08:00
tools for conversion
This commit is contained in:
parent
37d9b18fb6
commit
70c43f9b77
@ -106,11 +106,12 @@ func GetMessage() {
|
||||
msgFromMQ := &sdkws.MsgData{}
|
||||
err := proto.Unmarshal(msg.Value, msgFromMQ)
|
||||
if err != nil {
|
||||
fmt.Printf("err:%s", err)
|
||||
fmt.Printf("err:%s \n", err)
|
||||
}
|
||||
fmt.Printf("msg:%s", msgFromMQ)
|
||||
fmt.Printf("msg:%s \n", msgFromMQ)
|
||||
//fmt.Printf("Partition:%d, Offset:%d, Key:%s, Value:%s\n", msg.Partition, msg.Offset, string(msg.Key), string(msg.Value))
|
||||
}
|
||||
|
||||
}(pc)
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user