@Internal public class KafkaTopicPartitionLeader extends Object implements Serializable
| 构造器和说明 |
|---|
KafkaTopicPartitionLeader(KafkaTopicPartition topicPartition,
org.apache.kafka.common.Node leader) |
public KafkaTopicPartitionLeader(KafkaTopicPartition topicPartition, org.apache.kafka.common.Node leader)
public KafkaTopicPartition getTopicPartition()
public org.apache.kafka.common.Node getLeader()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.