LS8 CRC mismatch

I’m stuck on Stage #LS8 .

Im passing all the tests up to the point of checking the CRC of the RecordBatch on disk but with just the CRC mismatch I am struggling to find a way to debug further. I have debug enabled but just knowing the CRC’s don’t match isn’t very useful.

Here’s the github permalink to my current encoder and file writing build-your-own-kafka/app/disk/disk.go at c74574289aad695cf839ef5e699f8ec9c08834fa · sebsebmc/build-your-own-kafka · GitHub

Hey @sebsebmc, looks like the record passed into WriteRecord already contains a complete RecordBatch, so there is no need to wrap it i again:

Let me know if that helps or if you’re still stuck!

Ah, yes that was it!

1 Like

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.