Interface TopicPartitionInfo.Builder

  • Method Details

    • partition

      TopicPartitionInfo.Builder partition(Integer partition)

      The partition ID.

      Parameters:
      partition - The partition ID.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • leader

      The leader broker ID for the partition.

      Parameters:
      leader - The leader broker ID for the partition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicas

      The list of replica broker IDs for the partition.

      Parameters:
      replicas - The list of replica broker IDs for the partition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • replicas

      TopicPartitionInfo.Builder replicas(Integer... replicas)

      The list of replica broker IDs for the partition.

      Parameters:
      replicas - The list of replica broker IDs for the partition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isr

      The list of in-sync replica broker IDs for the partition.

      Parameters:
      isr - The list of in-sync replica broker IDs for the partition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isr

      The list of in-sync replica broker IDs for the partition.

      Parameters:
      isr - The list of in-sync replica broker IDs for the partition.
      Returns:
      Returns a reference to this object so that method calls can be chained together.