| Modifier and Type | Method and Description |
|---|---|
byte[] |
getData() |
Optional<EncryptionContext> |
getEncryptionCtx() |
long |
getEventTime() |
MessageId |
getInnerMessageId() |
String |
getKey() |
byte[] |
getKeyBytes() |
Message<T> |
getMessage() |
MessageId |
getMessageId() |
byte[] |
getOrderingKey() |
String |
getProducerName() |
Map<String,String> |
getProperties() |
String |
getProperty(String name) |
long |
getPublishTime() |
int |
getRedeliveryCount() |
String |
getReplicatedFrom() |
byte[] |
getSchemaVersion() |
long |
getSequenceId() |
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.
|
T |
getValue() |
boolean |
hasBase64EncodedKey() |
boolean |
hasKey() |
boolean |
hasOrderingKey() |
boolean |
hasProperty(String name) |
boolean |
isReplicated() |
public String getTopicName()
getTopicName in interface Message<T>public String getTopicPartitionName()
public MessageId getMessageId()
getMessageId in interface Message<T>public MessageId getInnerMessageId()
public Map<String,String> getProperties()
getProperties in interface Message<T>public boolean hasProperty(String name)
hasProperty in interface Message<T>public String getProperty(String name)
getProperty in interface Message<T>public long getPublishTime()
getPublishTime in interface Message<T>public long getEventTime()
getEventTime in interface Message<T>public long getSequenceId()
getSequenceId in interface Message<T>public String getProducerName()
getProducerName in interface Message<T>public boolean hasBase64EncodedKey()
hasBase64EncodedKey in interface Message<T>public byte[] getKeyBytes()
getKeyBytes in interface Message<T>public boolean hasOrderingKey()
hasOrderingKey in interface Message<T>public byte[] getOrderingKey()
getOrderingKey in interface Message<T>public Optional<EncryptionContext> getEncryptionCtx()
getEncryptionCtx in interface Message<T>public int getRedeliveryCount()
getRedeliveryCount in interface Message<T>public byte[] getSchemaVersion()
getSchemaVersion in interface Message<T>public boolean isReplicated()
isReplicated in interface Message<T>public String getReplicatedFrom()
getReplicatedFrom in interface Message<T>Copyright © 2017–2020 Apache Software Foundation. All rights reserved.