Package org.apache.kafka.common.errors
Class NotEnoughReplicasAfterAppendException
- 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.NotEnoughReplicasAfterAppendException
-
- All Implemented Interfaces:
Serializable
public class NotEnoughReplicasAfterAppendException extends RetriableException
Number of insync replicas for the partition is lower than min.insync.replicas This exception is raised when the low ISR size is discovered *after* the message was already appended to the log. Producer retries will cause duplicates.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description NotEnoughReplicasAfterAppendException(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 Detail
-
NotEnoughReplicasAfterAppendException
public NotEnoughReplicasAfterAppendException(String message)
-
-