Hi Kirk, I have made the test and I confirm that checkstyle is complaining (Disallowed import - org.apache.kafka.common.record.Record.) if I use Record class in the RecordDeserialisationException. An alternative might be to add key(), value(), headers() etc methods directly in the exception.
Regards, Fred