Class BufferExhaustedException
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.RetriableException
org.apache.kafka.common.errors.TimeoutException
org.apache.kafka.clients.producer.BufferExhaustedException
- All Implemented Interfaces:
Serializable
public class BufferExhaustedException extends TimeoutException
This exception is thrown if the producer cannot allocate memory for a record within max.block.ms due to the buffer
being too full.
In earlier versions a TimeoutException was thrown instead of this. To keep existing catch-clauses working
this class extends TimeoutException.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description BufferExhaustedException(String message)
-
Method Summary
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
-
BufferExhaustedException
-