public final class TopicPartition extends Object implements Serializable
Constructor and Description |
---|
TopicPartition(String topic,
int partition) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
static TopicPartition |
fromString(String topicPartitionString) |
int |
hashCode() |
int |
partition() |
String |
topic() |
String |
toString() |
public TopicPartition(String topic, int partition)
public int partition()
public String topic()
public static TopicPartition fromString(String topicPartitionString)