增加重
This commit is contained in:
parent
aa0864b3b5
commit
5891d29628
|
@ -133,6 +133,7 @@ func (kk KafkaV2Mq) Consume(name string, hand interface{}, ci int) {
|
|||
} else {
|
||||
fmt.Println(mqsg.Key)
|
||||
}
|
||||
|
||||
var data, _ = json.Marshal(mqsg)
|
||||
_, err = redis.GetRedis().HSet(context.Background(), "kafka_message", string(msg.Key), data).Result()
|
||||
err = handler(0, nil, data)
|
||||
|
|
Loading…
Reference in New Issue