| 程序包 | 说明 |
|---|---|
| org.apache.flink.streaming.connectors.kafka.internals |
| 限定符和类型 | 方法和说明 |
|---|---|
List<KafkaTopicPartition> |
AbstractPartitionDiscoverer.discoverPartitions()
Execute a partition discovery attempt for this subtask.
|
protected List<KafkaTopicPartition> |
KafkaPartitionDiscoverer.getAllPartitionsForTopics(List<String> topics) |
protected abstract List<KafkaTopicPartition> |
AbstractPartitionDiscoverer.getAllPartitionsForTopics(List<String> topics)
Fetch the list of all partitions for a specific topics list from Kafka.
|
protected List<String> |
KafkaPartitionDiscoverer.getAllTopics() |
protected abstract List<String> |
AbstractPartitionDiscoverer.getAllTopics()
Fetch the list of all topics from Kafka.
|
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.