group.coordinator.append.linger.ms — Kafka Broker Configuration
The duration in milliseconds that the coordinator will wait for writes to accumulate before flushing them to disk. Increasing this value improves write efficiency and batch size, but also increases the response latency for requests, as the coordinator must wait for batches to be flushed to disk before completing request processing
Description
The duration in milliseconds that the coordinator will wait for writes to accumulate before flushing them to disk. Increasing this value improves write efficiency and batch size, but also increases the response latency for requests, as the coordinator must wait for batches to be flushed to disk before completing request processing. Transactional writes are not accumulated. Set to -1 for an adaptive linger time that minimizes latency based on the workload.
Default Values by Kafka Version
| Component | Kafka version line | Documented default |
|---|---|---|
| Broker | 3.8 | 10 |
| Broker | 3.9 | 10 |
| Broker | 4.0 | 5 |
| Broker | 4.1 | 5 |
| Broker | 4.2 | -1 |
| Broker | 4.3 | -1 |
| Broker | 4.4 | -1 |