Skip to content

Commit

Permalink
fix: #28 mark as done on retry
Browse files Browse the repository at this point in the history
  • Loading branch information
jeroenrinzema committed Nov 29, 2019
1 parent 0cb9ea8 commit b4ddebd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dialects/kafka/consumer/group.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ func (handle *GroupHandle) ConsumeClaim(session sarama.ConsumerGroupSession, cla
if err == ErrRetry {
// Mark the message to be consumed again
session.ResetOffset(message.Topic, message.Partition, message.Offset, "")
handle.consumptions.Done()
return
}

Expand Down

0 comments on commit b4ddebd

Please # to comment.