Package org.apache.kafka.common.errors
Class RecordTooLargeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.kafka.common.KafkaException
-
- org.apache.kafka.common.errors.ApiException
-
- org.apache.kafka.common.errors.RecordTooLargeException
-
- All Implemented Interfaces:
Serializable
public class RecordTooLargeException extends ApiException
This record is larger than the maximum allowable size- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RecordTooLargeException()
RecordTooLargeException(String message)
RecordTooLargeException(String message, Throwable cause)
RecordTooLargeException(String message, Map<TopicPartition,Long> recordTooLargePartitions)
RecordTooLargeException(Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<TopicPartition,Long>
recordTooLargePartitions()
-
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTrace
-
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RecordTooLargeException
public RecordTooLargeException()
-
RecordTooLargeException
public RecordTooLargeException(String message)
-
RecordTooLargeException
public RecordTooLargeException(Throwable cause)
-
RecordTooLargeException
public RecordTooLargeException(String message, Map<TopicPartition,Long> recordTooLargePartitions)
-
-
Method Detail
-
recordTooLargePartitions
public Map<TopicPartition,Long> recordTooLargePartitions()
-
-