Package org.apache.kafka.common.errors
Class ListenerNotFoundException
- 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.InvalidMetadataException
-
- org.apache.kafka.common.errors.ListenerNotFoundException
-
- All Implemented Interfaces:
Serializable
public class ListenerNotFoundException extends InvalidMetadataException
The leader does not have an endpoint corresponding to the listener on which metadata was requested. This could indicate a broker configuration error or a transient error when listeners are updated dynamically and client requests are processed before all brokers have updated their listeners. This is currently used only for missing listeners on leader brokers, but may be used for followers in future.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListenerNotFoundException(String message)
ListenerNotFoundException(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
-
-