Class KafkaTopicPartitionLeader
- java.lang.Object
-
- org.apache.flink.streaming.connectors.kafka.internals.KafkaTopicPartitionLeader
-
- All Implemented Interfaces:
Serializable
@Internal public class KafkaTopicPartitionLeader extends Object implements Serializable
Serializable Topic Partition info with leader Node information. This class is used at runtime.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description KafkaTopicPartitionLeader(KafkaTopicPartition topicPartition, org.apache.kafka.common.Node leader)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)org.apache.kafka.common.NodegetLeader()KafkaTopicPartitiongetTopicPartition()inthashCode()StringtoString()
-
-
-
Constructor Detail
-
KafkaTopicPartitionLeader
public KafkaTopicPartitionLeader(KafkaTopicPartition topicPartition, org.apache.kafka.common.Node leader)
-
-
Method Detail
-
getTopicPartition
public KafkaTopicPartition getTopicPartition()
-
getLeader
public org.apache.kafka.common.Node getLeader()
-
-