AndrewJSchofield opened a new pull request, #24191: URL: https://github.com/apache/kafka/pull/24191
The incremental buffer allocation strategy in the producer caused capricious timeouts. The first pass to append records is always allowed to pass, but if a second pass was required after the deadline had passed, it threw TimeoutException. If the producer was using `max.block.ms=0`, the deadline had definitely passed for the second pass. However, a second pass could simply be required just because the partitioner had decided to switch partitions, and this could give rise to capricious timeouts. This was a difference in behaviour between the incremental and the full strategy. -- 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]
