...
|
...
|
@@ -61,9 +61,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, "")
|
|
|
|
|
|
}
|
|
|
}
|
|
|
return nil
|
|
|
}
|
...
|
...
|
|