kafka-go
kafka-go copied to clipboard
Is it possible to do crc checking when consuming?
It seems as if the Consumer does not support crc checking by default when fetching messages and I cannot find any configuration that enables it. In addition, the client library does not expose enough information for users of the library to do it themselves.
For example after downloading a file it is a good practice to check the file md5 checksum (rather than just relying on the tcp checksum).
I think we should support checks.crc configurable.
Thanks for bringing this up! We have some work being done on the Reader which should address this limitation as well, but since that isn't done yet I'll leave this issue open for the time-being and will follow up when we have more details to share.