Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

We propose making the broker-side deduplication buffer size configurable (or dynamic). This will allow operators to tune their clusters for high-latency environments by increasing the allowed max.in.flight.requests.per.connection for idempotent/transactional producers. This change will enable users to maintain exactly-once semantics and strict ordering without accepting a massive degradation in throughput over long-distance links.

...

Introduce a new config on the broker, as the broker must know how much memory to allocate. Operators can set a limitation on the broker side to prevent malicious producers. This configuration only takes effect for idempotent/transactional producers.

  • Config name: max.idempotence.batches.to.retain

  • Config type: Int

  • Default value: 5

  • Constraint: at least 5

...