[
https://issues.apache.org/jira/browse/KAFKA-20864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18143074#comment-18143074
]
Lianet Magrans commented on KAFKA-20864:
----------------------------------------
Cherry-picked to 4.4 branch
[https://github.com/apache/kafka/commit/484fd8db0d47dc589c9dcf57888551f3c1e49a86]
> Fix to avoid potential early batch close on pool exhausted if race happens
> --------------------------------------------------------------------------
>
> Key: KAFKA-20864
> URL: https://issues.apache.org/jira/browse/KAFKA-20864
> Project: Kafka
> Issue Type: Sub-task
> Components: clients, producer
> Affects Versions: 4.4.0
> Reporter: Lianet Magrans
> Assignee: Lianet Magrans
> Priority: Minor
> Fix For: 4.5.0, 4.4.1
>
>
> Address this comment
> [https://github.com/apache/kafka/pull/22654#discussion_r3684642090]
> The race could happen, and if the conditions align it could close the batch
> early (harmless but playing against perf/throughput)
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)