正在显示
1 个修改的文件
包含
2 行增加
和
0 行删除
@@ -53,6 +53,8 @@ func (c *MessageConsumer) ConsumeClaim(groupSession sarama.ConsumerGroupSession, | @@ -53,6 +53,8 @@ func (c *MessageConsumer) ConsumeClaim(groupSession sarama.ConsumerGroupSession, | ||
53 | err error | 53 | err error |
54 | ) | 54 | ) |
55 | for message := range groupClaim.Messages() { | 55 | for message := range groupClaim.Messages() { |
56 | + logs.Debug("Done Message claimed: timestamp = %v, topic = %s offset = %v value = %v \n", | ||
57 | + message.Timestamp, message.Topic, message.Offset, string(message.Value)) | ||
56 | if topicHandle, err = c.FindTopichandle(groupClaim.Topic()); err != nil { | 58 | if topicHandle, err = c.FindTopichandle(groupClaim.Topic()); err != nil { |
57 | logs.Error("FindTopichandle err:%s \n", err) | 59 | logs.Error("FindTopichandle err:%s \n", err) |
58 | continue | 60 | continue |
-
请 注册 或 登录 后发表评论