Skip to content

Commit

Permalink
bulker: retry_consumer: skip overly large messages
Browse files Browse the repository at this point in the history
  • Loading branch information
absorbb committed Nov 28, 2024
1 parent 0b182a6 commit 391da94
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bulkerapp/app/retry_consumer.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,8 @@ func (rc *RetryConsumer) processBatchImpl(_ *Destination, _, _, retryBatchSize i
Value: message.Value,
}, nil)
if err != nil {
return counters, state, false, fmt.Errorf("failed to put message to producer: %v", err)
rc.Errorf("Failed to put message to producer: %v\nMessage: %s Headers: %+v Key: %v", err, string(message.Value), headers, message.Key)
//return counters, state, false, fmt.Errorf("failed to put message to producer: %v", err)
}
counters.accumulate(singleCount)

Expand Down

0 comments on commit 391da94

Please sign in to comment.