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
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 Details
-
RecordTooLargeException
public RecordTooLargeException() -
RecordTooLargeException
-
RecordTooLargeException
-
RecordTooLargeException
-
RecordTooLargeException
-
-
Method Details
-
recordTooLargePartitions
-