kotlin-kafka icon indicating copy to clipboard operation
kotlin-kafka copied to clipboard

ProducerSettings should default to acks=All

Open felixkrull-neuland opened this issue 1 year ago • 2 comments
trafficstars

Kafka's producer defaults to acks=all (docs) but this library's ProducerSettings defaults to acks=1. In my opinion, this is an unexpected change in behaviour from Kafka's defaults which is not what I expect from a wrapper library.

Also, according to the Kafka docs, the Acks.MinusOne variant is unnecessary because it's equivalent to all.

felixkrull-neuland avatar Jan 16 '24 09:01 felixkrull-neuland

Hey @felixkrull-neuland,

IMO it makes sense to default to the same default as Kafka. I'm going to add this in the next release, if you're interested in contributing this I'd be happy to accept and merge the PR ☺️

nomisRev avatar Jan 18 '24 09:01 nomisRev