Question about eg2: Fetch single message from disk

Sorry for the delayed response!

It seems that your code hasn’t implemented CRC yet. The CRC value should be calculated over all the bytes that follow the CRC field in the record batch. This ensures the integrity of the entire payload after the CRC field.

For reference, you can review the Go implementation in our tester: