mirror of https://github.com/apache/kafka.git
KAFKA-13799: Improve documentation for Kafka zero-copy (#12052)
Improve documentation for Kafka zero-copy. Kafka combines pagecache and zero-copy to greatly improve message consumption efficiency. But zero-copy only works in PlaintextTransportLayer. Reviewers: Divij Vaidya <divijvaidya13@gmail.com>, Guozhang Wang <wangguoz@gmail.com>
This commit is contained in:
parent
2ed09db6c4
commit
fb66b3668b
|
@ -125,6 +125,9 @@
|
|||
<p>
|
||||
This combination of pagecache and sendfile means that on a Kafka cluster where the consumers are mostly caught up you will see no read activity on the disks whatsoever as they will be serving data entirely from cache.
|
||||
<p>
|
||||
TLS/SSL libraries operate at the user space (in-kernel <code>SSL_sendfile</code> is currently not supported by Kafka). Due to this restriction, <code>sendfile</code> could not be used when transport layer enables SSL protocol. For enabling
|
||||
SSL configuration, refer to <code>security.protocol</code> and <code>security.inter.broker.protocol</code>
|
||||
<p>
|
||||
For more background on the sendfile and zero-copy support in Java, see this <a href="https://developer.ibm.com/articles/j-zerocopy/">article</a>.
|
||||
|
||||
<h4 class="anchor-heading"><a id="design_compression" class="anchor-link"></a><a href="#design_compression">End-to-end Batch Compression</a></h4>
|
||||
|
|
Loading…
Reference in New Issue