MINOR: Standardise "variable-length" vs "variable length" (#7720)

Both were used in the same sentence, which isn't necessarily clear.

Reviewers: Mickael Maison <mickael.maison@gmail.com>
This commit is contained in:
Simon Clark 2019-11-21 13:36:56 +00:00 committed by Mickael Maison
parent 02df8e1496
commit af17468fa6
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@
</p> </p>
<h3><a id="messages" href="#messages">5.2 Messages</a></h3> <h3><a id="messages" href="#messages">5.2 Messages</a></h3>
<p> <p>
Messages consist of a variable-length header, a variable length opaque key byte array and a variable length opaque value byte array. The format of the header is described in the following section. Messages consist of a variable-length header, a variable-length opaque key byte array and a variable-length opaque value byte array. The format of the header is described in the following section.
Leaving the key and value opaque is the right decision: there is a great deal of progress being made on serialization libraries right now, and any particular choice is unlikely to be right for all uses. Needless to say a particular application using Kafka would likely mandate a particular serialization type as part of its usage. The <code>RecordBatch</code> interface is simply an iterator over messages with specialized methods for bulk reading and writing to an NIO <code>Channel</code>.</p> Leaving the key and value opaque is the right decision: there is a great deal of progress being made on serialization libraries right now, and any particular choice is unlikely to be right for all uses. Needless to say a particular application using Kafka would likely mandate a particular serialization type as part of its usage. The <code>RecordBatch</code> interface is simply an iterator over messages with specialized methods for bulk reading and writing to an NIO <code>Channel</code>.</p>
<h3><a id="messageformat" href="#messageformat">5.3 Message Format</a></h3> <h3><a id="messageformat" href="#messageformat">5.3 Message Format</a></h3>