Splits the Batch production logic into a separated types and changes some defaults in the interests of safety/reducing ambiguity:
sets default maxInFlightRequests to 1 (instead of 1_000_000), requiring opting in to the potentially reordering behavior implied by the default. Per Kafka, The Definitive Guide:
if guaranteeing order is critical, we recommend setting in.flight.requests.per.session=1 to make sure that while a batch of messages is retrying, additional messages will not be sent
increases batch production linger from 10ms to 100ms (Confluent.Kafka default value, makes sense)
Splits the Batch production logic into a separated types and changes some defaults in the interests of safety/reducing ambiguity:
sets default
maxInFlightRequests
to1
(instead of1_000_000
), requiring opting in to the potentially reordering behavior implied by the default. Per Kafka, The Definitive Guide:increases batch production linger from 10ms to 100ms (
Confluent.Kafka
default value, makes sense)Contains intentionally breaking signature changes