@Internal public class KafkaTopicPartitionLeader extends Object implements Serializable
Constructor and Description |
---|
KafkaTopicPartitionLeader(KafkaTopicPartition topicPartition,
org.apache.kafka.common.Node leader) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
org.apache.kafka.common.Node |
getLeader() |
KafkaTopicPartition |
getTopicPartition() |
int |
hashCode() |
String |
toString() |
public KafkaTopicPartitionLeader(KafkaTopicPartition topicPartition, org.apache.kafka.common.Node leader)
public KafkaTopicPartition getTopicPartition()
public org.apache.kafka.common.Node getLeader()
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.