Package org.apache.kafka.common.errors
Class CoordinatorNotAvailableException
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.CoordinatorNotAvailableException
- All Implemented Interfaces:
Serializable
public class CoordinatorNotAvailableException extends RetriableException
In the context of the group coordinator, the broker returns this error code for metadata or offset commit
requests if the group metadata topic has not been created yet.
In the context of the transactional coordinator, this error will be returned if the underlying transactional log
is under replicated or if an append to the log times out.
- See Also:
- Serialized Form
-
Field Summary
Fields Modifier and Type Field Description static CoordinatorNotAvailableException
INSTANCE
-
Constructor Summary
Constructors Constructor Description CoordinatorNotAvailableException(String message)
CoordinatorNotAvailableException(String message, Throwable cause)
-
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
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
CoordinatorNotAvailableException
-
CoordinatorNotAvailableException
-