...
|
...
|
@@ -59,8 +59,9 @@ func (c *MessageConsumer) ConsumeClaim(groupSession sarama.ConsumerGroupSession, |
|
|
}
|
|
|
if err = topicHandle(message); err != nil {
|
|
|
logs.Error("Message claimed: kafka消息处理错误 topic =", message.Topic, message.Offset, err)
|
|
|
} else {
|
|
|
groupSession.MarkMessage(message, "")
|
|
|
}
|
|
|
groupSession.MarkMessage(message, "")
|
|
|
}
|
|
|
return nil
|
|
|
}
|
...
|
...
|
|