@ExperimentalApi(value="Topic service interfaces are experimental and may change without notice")
public interface Message
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
commit()
Commits this message
If there was an error while committing, there is no point of retrying committing the same message:
the whole PartitionSession should be shut down by that time.
|
Instant |
getCreatedAt() |
byte[] |
getData() |
String |
getMessageGroupId() |
List<MetadataItem> |
getMetadataItems() |
long |
getOffset() |
PartitionSession |
getPartitionSession() |
String |
getProducerId() |
long |
getSeqNo() |
Map<String,String> |
getWriteSessionMeta() |
Instant |
getWrittenAt() |
byte[] getData()
DecompressionException - in case of decompression error. Raw data can be retrieved this exceptionlong getOffset()
long getSeqNo()
Instant getCreatedAt()
String getMessageGroupId()
String getProducerId()
Instant getWrittenAt()
List<MetadataItem> getMetadataItems()
PartitionSession getPartitionSession()
CompletableFuture<Void> commit()
Copyright © 2024. All rights reserved.