» huaweicloud_dis_partition_v2

Get all the partitions of a stream

» Example Usage

» list all the partitions of a stream


data "huaweicloud_dis_partition_v2" "partition" {
  stream_name = "{{ stream_name }}"
}

» Argument Reference

» Attributes Reference

The following attributes are exported:

  • partitions - The information of stream partitions. Structure is documented below.

The partitions block contains:

  • id - The ID of the partition.

  • status - The status of the partition.

  • hash_range - Possible value range of the hash key used by each partition.

  • sequence_number_range - Sequence number range of each partition..