ijuma commented on code in PR #19250: URL: https://github.com/apache/kafka/pull/19250#discussion_r2004796009
########## clients/src/main/java/org/apache/kafka/clients/producer/KafkaProducer.java: ########## @@ -138,14 +138,14 @@ * the <code>batch.size</code> config. Making this larger can result in more batching, but requires more memory (since we will * generally have one of these buffers for each active partition). * <p> - * By default a buffer is available to send immediately even if there is additional unused space in the buffer. However if you - * want to reduce the number of requests you can set <code>linger.ms</code> to something greater than 0. This will - * instruct the producer to wait up to that number of milliseconds before sending a request in hope that more records will + * By default, a buffer is available to send after a short delay even if there is additional unused space in the buffer. Review Comment: The linger.ms default changed in 4.0. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org