Class KafkaTopicsDescriptor

java.lang.Object
org.apache.flink.streaming.connectors.kafka.internals.KafkaTopicsDescriptor
All Implemented Interfaces:
Serializable

@Internal @Deprecated public class KafkaTopicsDescriptor extends Object implements Serializable
Deprecated.
A Kafka Topics Descriptor describes how the consumer subscribes to Kafka topics - either a fixed list of topics, or a topic pattern.
See Also:
  • Constructor Details

  • Method Details

    • isFixedTopics

      public boolean isFixedTopics()
      Deprecated.
    • isTopicPattern

      public boolean isTopicPattern()
      Deprecated.
    • isMatchingTopic

      public boolean isMatchingTopic(String topic)
      Deprecated.
      Check if the input topic matches the topics described by this KafkaTopicDescriptor.
      Returns:
      true if found a match.
    • getFixedTopics

      public List<String> getFixedTopics()
      Deprecated.
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object