Package org.apache.kafka.common
Class TopicIdPartition
java.lang.Object
org.apache.kafka.common.TopicIdPartition
public class TopicIdPartition extends Object
This represents universally unique identifier with topic id for a topic partition. This makes sure that topics
recreated with the same name will always have unique topic identifiers.
-
Constructor Summary
Constructors Constructor Description TopicIdPartition(Uuid topicId, TopicPartition topicPartition)
-
Method Summary
Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
Uuid
topicId()
TopicPartition
topicPartition()
String
toString()
-
Constructor Details
-
TopicIdPartition
-
-
Method Details