Package org.apache.kafka.common.errors
Class UnknownProducerIdException
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.OutOfOrderSequenceException
org.apache.kafka.common.errors.UnknownProducerIdException
- All Implemented Interfaces:
Serializable
This exception is raised by the broker if it could not locate the producer metadata associated with the producerId
in question. This could happen if, for instance, the producer's records were deleted because their retention time
had elapsed. Once the last records of the producerId are removed, the producer's metadata is removed from the broker,
and future appends by the producer will return this exception.
- See Also:
-
Constructor Summary
-
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
-
UnknownProducerIdException
-