org.apache.kafka.common.errors
Class NotEnoughReplicasAfterAppendException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.apache.kafka.common.KafkaException
                  extended by org.apache.kafka.common.errors.ApiException
                      extended by org.apache.kafka.common.errors.RetriableException
                          extended by org.apache.kafka.common.errors.NotEnoughReplicasAfterAppendException
All Implemented Interfaces:
java.io.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
NotEnoughReplicasAfterAppendException()
           
NotEnoughReplicasAfterAppendException(java.lang.String message)
           
NotEnoughReplicasAfterAppendException(java.lang.String message, java.lang.Throwable cause)
           
NotEnoughReplicasAfterAppendException(java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class org.apache.kafka.common.errors.ApiException
fillInStackTrace
 
Methods inherited from class java.lang.Throwable
getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NotEnoughReplicasAfterAppendException

public NotEnoughReplicasAfterAppendException()

NotEnoughReplicasAfterAppendException

public NotEnoughReplicasAfterAppendException(java.lang.String message,
                                             java.lang.Throwable cause)

NotEnoughReplicasAfterAppendException

public NotEnoughReplicasAfterAppendException(java.lang.String message)

NotEnoughReplicasAfterAppendException

public NotEnoughReplicasAfterAppendException(java.lang.Throwable cause)