@Internal
public class Kafka09PartitionDiscoverer
extends org.apache.flink.streaming.connectors.kafka.internals.AbstractPartitionDiscoverer
org.apache.flink.streaming.connectors.kafka.internals.AbstractPartitionDiscoverer.ClosedException, org.apache.flink.streaming.connectors.kafka.internals.AbstractPartitionDiscoverer.WakeupException| Constructor and Description |
|---|
Kafka09PartitionDiscoverer(org.apache.flink.streaming.connectors.kafka.internals.KafkaTopicsDescriptor topicsDescriptor,
int indexOfThisSubtask,
int numParallelSubtasks,
Properties kafkaProperties) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
closeConnections() |
protected List<org.apache.flink.streaming.connectors.kafka.internals.KafkaTopicPartition> |
getAllPartitionsForTopics(List<String> topics) |
protected List<String> |
getAllTopics() |
protected void |
initializeConnections() |
protected void |
wakeupConnections() |
public Kafka09PartitionDiscoverer(org.apache.flink.streaming.connectors.kafka.internals.KafkaTopicsDescriptor topicsDescriptor,
int indexOfThisSubtask,
int numParallelSubtasks,
Properties kafkaProperties)
protected void initializeConnections()
initializeConnections in class org.apache.flink.streaming.connectors.kafka.internals.AbstractPartitionDiscovererprotected List<String> getAllTopics() throws org.apache.flink.streaming.connectors.kafka.internals.AbstractPartitionDiscoverer.WakeupException
getAllTopics in class org.apache.flink.streaming.connectors.kafka.internals.AbstractPartitionDiscovererorg.apache.flink.streaming.connectors.kafka.internals.AbstractPartitionDiscoverer.WakeupExceptionprotected List<org.apache.flink.streaming.connectors.kafka.internals.KafkaTopicPartition> getAllPartitionsForTopics(List<String> topics) throws org.apache.flink.streaming.connectors.kafka.internals.AbstractPartitionDiscoverer.WakeupException
getAllPartitionsForTopics in class org.apache.flink.streaming.connectors.kafka.internals.AbstractPartitionDiscovererorg.apache.flink.streaming.connectors.kafka.internals.AbstractPartitionDiscoverer.WakeupExceptionprotected void wakeupConnections()
wakeupConnections in class org.apache.flink.streaming.connectors.kafka.internals.AbstractPartitionDiscovererCopyright © 2014–2018 The Apache Software Foundation. All rights reserved.