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
This exception is raised for any error that occurs while deserializing records received by the consumer using
the configured
Deserializer
.- See Also:
-
Constructor Summary
ConstructorDescriptionRecordDeserializationException
(TopicPartition partition, long offset, String message, Throwable cause) -
Method Summary
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()
-