-
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kmsg: breaking API in Read{RecordBatches,V{0,1}Messages}
As pointed out in #8, I had no crc validation on decode. The most obvious place to add that validation (and length validation) is in kmsg, which also makes this validation more broadly applicable to those that do not want to use the kgo package. This has been tested with the chaining tests, and v0 / v1 message sets have been tested with kcl.
- Loading branch information
Showing
2 changed files
with
70 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters