Validate the offset received from kafka when consuming

@wvanbergen noticed this when trying to figure out the mystery test failure. I doubt this is the problem, but it's worth fixing anyways.