m1a2st commented on code in PR #19125:
URL: https://github.com/apache/kafka/pull/19125#discussion_r1982944600
##########
clients/src/main/java/org/apache/kafka/clients/producer/ProducerConfig.java:
##########
@@ -94,7 +94,7 @@ public class ProducerConfig extends AbstractConfig {
+ "Note: This setting gives
the upper bound of the batch size to be sent. If we have fewer than this many
bytes accumulated "
+ "for this partition, we
will 'linger' for the <code>linger.ms</code> time waiting for more records to
show up. "
+ "This
<code>linger.ms</code> setting defaults to 5, which means the producer will
wait for 5ms or until the record batch is "
- + "of
<code>batch.size</code>(whichever happens first) before sending the record
batch. Note that broker backpressure can "
+ + "of <code>batch.size</code>
(whichever happens first) before sending the record batch. Note that broker
backpressure can "
+ " result in a higher
effective linger time than this setting."
Review Comment:
Please also update this line to `"result in a higher effective linger time
than this setting. "`

--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]