|
|
@ -142,6 +142,7 @@ func (c *ConsumerHandler) ConsumeClaim(sess sarama.ConsumerGroupSession, claim s
|
|
|
|
|
|
|
|
|
|
|
|
for msg := range claim.Messages() {
|
|
|
|
for msg := range claim.Messages() {
|
|
|
|
ctx := c.pushConsumerGroup.GetContextFromMsg(msg)
|
|
|
|
ctx := c.pushConsumerGroup.GetContextFromMsg(msg)
|
|
|
|
|
|
|
|
ctx = mcontext.WithOpUserIDContext(ctx, c.config.Share.IMAdminUserID[0])
|
|
|
|
c.handleMs2PsChat(ctx, msg.Value)
|
|
|
|
c.handleMs2PsChat(ctx, msg.Value)
|
|
|
|
sess.MarkMessage(msg, "")
|
|
|
|
sess.MarkMessage(msg, "")
|
|
|
|
}
|
|
|
|
}
|
|
|
|