Options
All
  • Public
  • Public/Protected
  • All
Menu

Namespace PartitionReservation

Represents the state of a single partition reservation.

Properties

Optional committedOffset

committedOffset: undefined | number

The latest offset which has been committed for this partition. Note: Numbers greater than Number.MAX_SAFE_INTEGER will result in rounding issues.

Optional partition

partition: undefined | string

The partition for which the reservation applies.

Optional reservedInstance

reservedInstance: undefined | string

The consumer instance which currently has the partition reserved.

Optional timeReservedUntil

timeReservedUntil: Date

A timestamp when the current reservation expires.

Functions

getDeserializedJsonObj

getJsonObj