类 TopicMessageImpl<T>
java.lang.Object
org.apache.pulsar.client.impl.TopicMessageImpl<T>
- 所有已实现的接口:
Message<T>
-
方法概要
修饰符和类型方法说明byte[]getData()longgetIndex()已过时。getKey()byte[]byte[]getProperty(String name) longintbyte[]longGet the topic name with partition part of this message.已过时。getValue()booleanbooleanbooleanhasIndex()booleanhasKey()booleanbooleanhasProperty(String name) booleanvoidrelease()intsize()
-
方法详细资料
-
getTopicName
Get the topic name with partition part of this message.- 指定者:
getTopicName在接口中Message<T>- 返回:
- the name of the topic on which this message was published
-
getTopicPartitionName
已过时。Get the topic name which contains partition part for this message.- 返回:
- the topic name which contains Partition part
-
getMessageId
- 指定者:
getMessageId在接口中Message<T>
-
getInnerMessageId
已过时。 -
getProperties
- 指定者:
getProperties在接口中Message<T>
-
hasProperty
- 指定者:
hasProperty在接口中Message<T>
-
getProperty
- 指定者:
getProperty在接口中Message<T>
-
getData
public byte[] getData() -
size
public int size() -
getPublishTime
public long getPublishTime()- 指定者:
getPublishTime在接口中Message<T>
-
getEventTime
public long getEventTime()- 指定者:
getEventTime在接口中Message<T>
-
getSequenceId
public long getSequenceId()- 指定者:
getSequenceId在接口中Message<T>
-
getProducerName
- 指定者:
getProducerName在接口中Message<T>
-
hasKey
public boolean hasKey() -
getKey
-
hasBase64EncodedKey
public boolean hasBase64EncodedKey()- 指定者:
hasBase64EncodedKey在接口中Message<T>
-
getKeyBytes
public byte[] getKeyBytes()- 指定者:
getKeyBytes在接口中Message<T>
-
hasOrderingKey
public boolean hasOrderingKey()- 指定者:
hasOrderingKey在接口中Message<T>
-
getOrderingKey
public byte[] getOrderingKey()- 指定者:
getOrderingKey在接口中Message<T>
-
getValue
-
getEncryptionCtx
- 指定者:
getEncryptionCtx在接口中Message<T>
-
getRedeliveryCount
public int getRedeliveryCount()- 指定者:
getRedeliveryCount在接口中Message<T>
-
getSchemaVersion
public byte[] getSchemaVersion()- 指定者:
getSchemaVersion在接口中Message<T>
-
isReplicated
public boolean isReplicated()- 指定者:
isReplicated在接口中Message<T>
-
getReplicatedFrom
- 指定者:
getReplicatedFrom在接口中Message<T>
-
getMessage
-
getSchemaInternal
-
getReaderSchema
- 指定者:
getReaderSchema在接口中Message<T>
-
release
public void release() -
hasBrokerPublishTime
public boolean hasBrokerPublishTime()- 指定者:
hasBrokerPublishTime在接口中Message<T>
-
getBrokerPublishTime
- 指定者:
getBrokerPublishTime在接口中Message<T>
-
hasIndex
public boolean hasIndex() -
getIndex
-