public class TopicMessageIdImpl extends Object implements MessageId
| Constructor and Description |
|---|
TopicMessageIdImpl(String topicPartitionName,
String topicName,
MessageId messageId) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(MessageId o) |
boolean |
equals(Object obj) |
MessageId |
getInnerMessageId() |
String |
getTopicName()
Get the topic name without partition part of this message.
|
String |
getTopicPartitionName()
Get the topic name which contains partition part for this message.
|
int |
hashCode() |
byte[] |
toByteArray() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitfromByteArray, fromByteArrayWithTopicpublic String getTopicName()
public String getTopicPartitionName()
public MessageId getInnerMessageId()
public byte[] toByteArray()
toByteArray in interface MessageIdpublic int compareTo(MessageId o)
compareTo in interface Comparable<MessageId>Copyright © 2017–2020 Apache Software Foundation. All rights reserved.