mirror of https://github.com/apache/kafka.git
MINOR: Correct type of record batch CRC field (#13583)
The CRC field of Record Batch was incorrectly documented as int32 while in reality it's an unsigned uint32 field. Reviewers: Luke Chen <showuon@gmail.com>
This commit is contained in:
parent
639bd65449
commit
6ca8f0d5f0
|
@ -36,7 +36,7 @@
|
||||||
batchLength: int32
|
batchLength: int32
|
||||||
partitionLeaderEpoch: int32
|
partitionLeaderEpoch: int32
|
||||||
magic: int8 (current magic value is 2)
|
magic: int8 (current magic value is 2)
|
||||||
crc: int32
|
crc: uint32
|
||||||
attributes: int16
|
attributes: int16
|
||||||
bit 0~2:
|
bit 0~2:
|
||||||
0: no compression
|
0: no compression
|
||||||
|
|
Loading…
Reference in New Issue