public class TopicMessageIdImpl extends Object implements 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.
|
byte[] |
toByteArray()
Serialize the message ID into a byte array
|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfromByteArray, fromByteArrayWithTopicpublic String getTopicName()
public String getTopicPartitionName()
public MessageId getInnerMessageId()
public byte[] toByteArray()
MessageIdtoByteArray in interface MessageIdpublic int compareTo(MessageId o)
compareTo in interface Comparable<MessageId>Copyright © 2017–2018 Apache Software Foundation. All rights reserved.