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:
Anton Agestam 2023-04-17 14:22:36 +02:00 committed by GitHub
parent 639bd65449
commit 6ca8f0d5f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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