Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TopicPartition

Represent information related to a partition for a topic

Hierarchy

  • TopicPartition

Index

Constructors

constructor

  • Returns TopicPartition

  • Parameters

    Returns TopicPartition

Methods

getPartition

  • getPartition(): number
  • Set the partition number

    Returns number

getTopic

  • getTopic(): string
  • Set the topic name

    Returns string

setPartition

  • Set the partition number

    Parameters

    • partition: number

    Returns TopicPartition

setTopic

  • Set the topic name

    Parameters

    • topic: string

    Returns TopicPartition

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc