Package org.apache.kafka.common.errors
Class RefreshRetriableException
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.RefreshRetriableException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CoordinatorNotAvailableException
,InvalidMetadataException
,NotCoordinatorException
Indicates that an operation failed due to outdated or invalid metadata,
requiring a refresh (e.g., refreshing producer metadata) before retrying the request.
The request can be modified or updated with fresh metadata before being retried.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRefreshRetriableException
(String message) RefreshRetriableException
(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
-
Constructor Details
-
RefreshRetriableException
-
RefreshRetriableException
-
RefreshRetriableException
-
RefreshRetriableException
public RefreshRetriableException()
-