How to skip corrupt (non-serializable) messages in Spring Kafka Consumer?
问题 This question is for Spring Kafka, related to Apache Kafka with High Level Consumer: Skip corrupted messages Is there a way to configure Spring Kafka consumer to skip a record that cannot be read/processed (is corrupt)? I am seeing a situation where the consumer gets stuck on the same record if it cannot be deserialized. This is the error the consumer throws. Caused by: com.fasterxml.jackson.databind.JsonMappingException: Can not construct instance of java.time.LocalDate: no long/Long