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:
java.io.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(java.lang.String message)
RecordTooLargeException(java.lang.String message, java.lang.Throwable cause)
RecordTooLargeException(java.lang.String message, java.util.Map<TopicPartition,java.lang.Long> recordTooLargePartitions)
RecordTooLargeException(java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<TopicPartition,java.lang.Long>
recordTooLargePartitions()
-
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTrace
-
-
-
-
Constructor Detail
-
RecordTooLargeException
public RecordTooLargeException()
-
RecordTooLargeException
public RecordTooLargeException(java.lang.String message, java.lang.Throwable cause)
-
RecordTooLargeException
public RecordTooLargeException(java.lang.String message)
-
RecordTooLargeException
public RecordTooLargeException(java.lang.Throwable cause)
-
RecordTooLargeException
public RecordTooLargeException(java.lang.String message, java.util.Map<TopicPartition,java.lang.Long> recordTooLargePartitions)
-
-
Method Detail
-
recordTooLargePartitions
public java.util.Map<TopicPartition,java.lang.Long> recordTooLargePartitions()
-
-