Class UnknownTopicOrPartitionException

All Implemented Interfaces:
Serializable

public class UnknownTopicOrPartitionException extends InvalidMetadataException
This topic/partition doesn't exist. This exception is used in contexts where a topic doesn't seem to exist based on possibly stale metadata. This exception is retriable because the topic or partition might subsequently be created.
See Also:
  • Constructor Details

    • UnknownTopicOrPartitionException

      public UnknownTopicOrPartitionException()
    • UnknownTopicOrPartitionException

      public UnknownTopicOrPartitionException(String message)
    • UnknownTopicOrPartitionException

      public UnknownTopicOrPartitionException(Throwable throwable)
    • UnknownTopicOrPartitionException

      public UnknownTopicOrPartitionException(String message, Throwable throwable)