flipp-oss / deimos

Framework to work with Kafka, Avro and ActiveRecord
Other
59 stars 22 forks source link

Don't resend messages when splitting up batches #24

Closed dorner closed 3 years ago

dorner commented 5 years ago

DB Producer has a feature where, when the batch is too large and gets rejected by Kafka, it splits the batch up and tries again. This is fine when going from the full batch to smaller batches, but when splitting it up further, it may be resending messages unnecessarily:

These messages shouldn't be resent.