| Modifier and Type | Class and Description |
|---|---|
static class |
MessageImpl.Builder
BUILDER
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
commit()
Commit this message
|
long |
getCommitOffsetFrom() |
Instant |
getCreatedAt() |
byte[] |
getData() |
String |
getMessageGroupId() |
long |
getOffset() |
PartitionSession |
getPartitionSession() |
String |
getProducerId() |
long |
getSeqNo() |
Map<String,String> |
getWriteSessionMeta() |
Instant |
getWrittenAt() |
void |
setData(byte[] data) |
void |
setDecompressed(boolean decompressed) |
void |
setException(IOException exception) |
public byte[] getData()
public void setData(byte[] data)
public void setException(IOException exception)
public long getOffset()
public long getCommitOffsetFrom()
public Instant getCreatedAt()
getCreatedAt in interface Messagepublic String getMessageGroupId()
getMessageGroupId in interface Messagepublic String getProducerId()
getProducerId in interface Messagepublic Map<String,String> getWriteSessionMeta()
getWriteSessionMeta in interface Messagepublic Instant getWrittenAt()
getWrittenAt in interface Messagepublic PartitionSession getPartitionSession()
getPartitionSession in interface Messagepublic void setDecompressed(boolean decompressed)
public CompletableFuture<Void> commit()
MessageCopyright © 2023. All rights reserved.