public interface RawMessage extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
io.netty.buffer.ByteBuf |
getHeadersAndPayload()
Get a ByteBuf which contains the headers and payload of the message.
|
org.apache.pulsar.client.api.MessageId |
getMessageId()
Get the message ID of this message.
|
org.apache.pulsar.common.api.proto.PulsarApi.MessageIdData |
getMessageIdData()
Get the protobuf representation of the message ID of this message.
|
io.netty.buffer.ByteBuf |
serialize()
Serialize a raw message to a ByteBuf.
|
org.apache.pulsar.client.api.MessageId getMessageId()
org.apache.pulsar.common.api.proto.PulsarApi.MessageIdData getMessageIdData()
io.netty.buffer.ByteBuf getHeadersAndPayload()
io.netty.buffer.ByteBuf serialize()
void close()
close in interface AutoCloseableCopyright © 2017–2021 Apache Software Foundation. All rights reserved.