public class TopicIdPartition extends Object
Constructor and Description |
---|
TopicIdPartition(Uuid topicId,
int partition,
String topic)
Create an instance with the provided parameters.
|
TopicIdPartition(Uuid topicId,
TopicPartition topicPartition)
Create an instance with the provided parameters.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
int |
hashCode() |
int |
partition() |
String |
topic() |
Uuid |
topicId() |
TopicPartition |
topicPartition() |
String |
toString() |
public TopicIdPartition(Uuid topicId, TopicPartition topicPartition)
topicId
- the topic idtopicPartition
- the topic partitionpublic Uuid topicId()
public String topic()
public int partition()
public TopicPartition topicPartition()