Type Alias Discard

Discard: { bytesLeft: number; messagesLeft: number; type: "discard" }

Requests for messages can be terminated by the server, these notifications provide information on the number of messages and/or bytes that couldn't be satisfied by the consumer request.

Type declaration

  • bytesLeft: number
  • messagesLeft: number
  • type: "discard"