It'd be ideal to move this logic to a listener implementation as well but 
maxUsableProduceMagic() is invoked from KafkaProducer, Sender and 
RecordAccumulator making it harder to encapsulate in a single layer. We could 
potentially make this change in a follow-on PR.



[ Full content available at: https://github.com/apache/kafka/pull/5542 ]
This message was relayed via gitbox.apache.org for [email protected]

Reply via email to