Class PutMessagesResultEntry
Represents the result of a {@link #putMessages(PutMessagesRequest) putMessages} request, whether it was successful or not.
If a message was successfully appended to the stream, the entry includes the offset
, partition
, and timestamp
.
If the message failed to be appended to the stream, the entry includes the error
and errorMessage
.
Inherited Members
Namespace: Oci.StreamingService.Models
Assembly: OCI.DotNetSDK.Streaming.dll
Syntax
public class PutMessagesResultEntry
Properties
Error
Declaration
[JsonProperty(PropertyName = "error")]
public string Error { get; set; }
Property Value
Type | Description |
---|---|
string | The error code, in case the message was not successfully appended to the stream. |
ErrorMessage
Declaration
[JsonProperty(PropertyName = "errorMessage")]
public string ErrorMessage { get; set; }
Property Value
Type | Description |
---|---|
string | A human-readable error message associated with the error code. |
Offset
Declaration
[JsonProperty(PropertyName = "offset")]
public long? Offset { get; set; }
Property Value
Type | Description |
---|---|
long? | The offset of the message in the partition. |
Partition
Declaration
[JsonProperty(PropertyName = "partition")]
public string Partition { get; set; }
Property Value
Type | Description |
---|---|
string | The ID of the partition where the message was stored. |
Timestamp
Declaration
[JsonProperty(PropertyName = "timestamp")]
public DateTime? Timestamp { get; set; }
Property Value
Type | Description |
---|---|
DateTime? | The timestamp indicating when the server appended the message to the stream. |