Apache Kafka - linger.ms and batch.size
After message compression, we want to control that batch. By default, Kafka wants to minimize latency. And so it'll try to send the records as soon as possible. It will have up to, five requests in flight, which means that up to five messages individually can be sent at the same time. Then, once the