All Products
Search
Document Center

Tablestore:StreamShard

Last Updated:Aug 23, 2024

Specifies the shard information about a stream.

Data structure

message StreamShard {
    required string shard_id = 1;
    optional string parent_id = 2;
    optional string parent_sibling_id = 3;
}

Parameter

Type

Required

Description

shard_id

string

Yes

The ID of the shard.

parent_id

string

No

The ID of the parent shard. If the shard belongs to a parent part, you can use parent_id to specify the parent shard ID.

parent_sibling_id

string

No

The ID of the parent shard at the same level. If the shard belongs to a parent part at the same level as itself, you can use parent_sibling_id to specify the parent shard ID.