Hello,

As per doc when LogAndContinueExceptionHandler is used it will set
skippedDueToDeserializationError-rate metric to indicate deserialization
error.
I notice that it is never set. Instead skipped-records-rate is set. My
understanding was that skipped-records-rate is set due to timestamp
extraction errors.

Ex, I sent a few invalid records to a topic and was able to see exception
during deserialization.

org.apache.kafka.common.errors.SerializationException: Error deserializing
Avro message for id -1
Caused by: org.apache.kafka.common.errors.SerializationException: Unknown
magic byte!
18/01/24 06:50:09 WARN StreamThread: Exception caught during
Deserialization, taskId: 0_0, topic: docker.event.1, partition: 0, offset:
3764

These incremented skipped-records-[rate|total].

Thanks,
Srikanth

Reply via email to