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:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
-
Constructor Summary
ConstructorDescriptionRecordDeserializationException
(RecordDeserializationException.DeserializationExceptionOrigin origin, TopicPartition partition, long offset, long timestamp, org.apache.kafka.common.record.TimestampType timestampType, ByteBuffer keyBuffer, ByteBuffer valueBuffer, Headers headers, String message, Throwable cause) RecordDeserializationException
(TopicPartition partition, long offset, String message, Throwable cause) Deprecated. -
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
@Deprecated public RecordDeserializationException(TopicPartition partition, long offset, String message, Throwable cause) Deprecated. -
RecordDeserializationException
public RecordDeserializationException(RecordDeserializationException.DeserializationExceptionOrigin origin, TopicPartition partition, long offset, long timestamp, org.apache.kafka.common.record.TimestampType timestampType, ByteBuffer keyBuffer, ByteBuffer valueBuffer, Headers headers, String message, Throwable cause)
-
-
Method Details
-
origin
-
topicPartition
-
offset
public long offset() -
timestampType
public org.apache.kafka.common.record.TimestampType timestampType() -
timestamp
public long timestamp() -
keyBuffer
-
valueBuffer
-
headers
-