Skip to content

Commit

Permalink
MINOR: Standardise "variable-length" vs "variable length" (apache#7720)
Browse files Browse the repository at this point in the history
Both were used in the same sentence, which isn't necessarily clear.

Reviewers: Mickael Maison <mickael.maison@gmail.com>
  • Loading branch information
Malakhit authored and mimaison committed Nov 21, 2019
1 parent 02df8e1 commit af17468
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/implementation.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ <h3><a id="networklayer" href="#networklayer">5.1 Network Layer</a></h3>
</p>
<h3><a id="messages" href="#messages">5.2 Messages</a></h3>
<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>

<h3><a id="messageformat" href="#messageformat">5.3 Message Format</a></h3>
Expand Down

0 comments on commit af17468

Please sign in to comment.