Options
All
  • Public
  • Public/Protected
  • All
Menu

Class NewPartitions

An update to the number of partitions including assignment. Partitions can be increased only. If decrease, an exception from Kafka broker is received. If no assignment is specifies brokers will randomly assign the partitions.

Hierarchy

  • NewPartitions

Index

Constructors

constructor

  • Returns NewPartitions

  • Parameters

    Returns NewPartitions

Methods

getTotalCount

  • getTotalCount(): number
  • Set the number of partitions for the topic

    Returns number

setTotalCount

  • Set the number of partitions for the topic

    Parameters

    • totalCount: number

    Returns NewPartitions

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc