Package org.apache.kafka.common.errors
Class RecordDeserializationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.kafka.common.KafkaException
org.apache.kafka.common.errors.SerializationException
org.apache.kafka.common.errors.RecordDeserializationException
- All Implemented Interfaces:
Serializable
public class RecordDeserializationException extends SerializationException
This exception is raised for any error that occurs while deserializing records received by the consumer using
the configured
Deserializer
.- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description RecordDeserializationException(TopicPartition partition, long offset, String message, Throwable cause)
-
Method Summary
Modifier and Type Method Description long
offset()
TopicPartition
topicPartition()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RecordDeserializationException
public RecordDeserializationException(TopicPartition partition, long offset, String message, Throwable cause)
-
-
Method Details
-
topicPartition
-
offset
public long offset()
-