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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KafkaTopicsDescriptor(List<String> fixedTopics, Pattern topicPattern)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description List<String>getFixedTopics()Deprecated.booleanisFixedTopics()Deprecated.booleanisMatchingTopic(String topic)Deprecated.Check if the input topic matches the topics described by this KafkaTopicDescriptor.booleanisTopicPattern()Deprecated.StringtoString()Deprecated.
-
-
-
Method Detail
-
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.
-
-