Package org.apache.kafka.common.errors
Class InvalidTopicException
- 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.InvalidTopicException
-
- All Implemented Interfaces:
Serializable
public class InvalidTopicException extends ApiException
The client has attempted to perform an operation on an invalid topic. For example the topic name is too long, contains invalid characters etc. This exception is not retriable because the operation won't suddenly become valid.- See Also:
UnknownTopicOrPartitionException
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InvalidTopicException()
InvalidTopicException(String message)
InvalidTopicException(String message, Throwable cause)
InvalidTopicException(String message, Set<String> invalidTopics)
InvalidTopicException(Throwable cause)
InvalidTopicException(Set<String> invalidTopics)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
invalidTopics()
-
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
-
-