Class StreamMessage<T>
java.lang.Object
io.superdurable.dex.StreamMessage<T>
- Type Parameters:
T- the decoded message type
Describes one retained Stream message returned by Stream Client reads.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the server-assigned creation time.Returns the token for the next read.Returns the producer metadata supplied when the message was appended.getValue()Returns the decoded application message.
-
Method Details
-
getValue
-
getResumeToken
Returns the token for the next read.- Returns:
- the opaque resume token
-
getCreatedTime
Returns the server-assigned creation time.- Returns:
- the UTC creation time
-
getSource
Returns the producer metadata supplied when the message was appended.Step writes use
#<stepExecutionID>. Client writes use the source supplied toClient.writeStream(String, Stream, String, T). Sources are not unique and carry no deduplication semantics.- Returns:
- the message source
-