Add logging for deserialization failures.

This commit is contained in:
Arnaud
2018-12-12 09:18:26 +01:00
committed by Soby Chacko
parent 43c8f02bff
commit e93904c238

View File

@@ -140,7 +140,8 @@ public class KafkaStreamsMessageConversionDelegate {
LOG.info("Received a tombstone record. This will be skipped from further processing.");
}
}
catch (Exception ignored) {
catch (Exception e) {
LOG.warn("Deserialization has failed. This will be skipped from further processing.", e);
//pass through
}
return isValidRecord;