Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace PutMessagesResult

The response to a {@link #putMessages(PutMessagesRequest) putMessages} request. It indicates the number of failed messages as well as an array of results for successful and failed messages.

Properties

entries

entries: Array<PutMessagesResultEntry>

An array of items representing the result of each message. The order is guaranteed to be the same as in the {@code PutMessagesDetails} object. If a message was successfully appended to the stream, the entry includes the {@code offset}, {@code partition}, and {@code timestamp}. If a message failed to be appended to the stream, the entry includes the {@code error} and {@code errorMessage}.

failures

failures: number

The number of messages that failed to be added to the stream. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Functions

getDeserializedJsonObj

getJsonObj