- Type Parameters:
T
- class to deserialize
- All Implemented Interfaces:
- java.io.Closeable, java.lang.AutoCloseable, org.apache.kafka.common.serialization.Deserializer<T>
public class WrappedNoSerializationErrorDeserializer<T>
extends java.lang.Object
implements org.apache.kafka.common.serialization.Deserializer<T>
A simple helper that delegates all deserialization calls to the wrapped deserializer given in the
constructor. Potential deserialization exceptions are caught, logged and null value is returned.
This helper can be used to workaround a known Kafka problem, see
https://issues.apache.org/jira/browse/KAFKA-4740.