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:
java.io.Serializable
public class UnknownProducerIdException extends OutOfOrderSequenceException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnknownProducerIdException(java.lang.String message)
-
Method Summary
-
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTrace
-
-