GetShardIterator obtains the start iterator for reading the record information of the current shard.
Request structure:
message GetShardIteratorRequest {
required string stream_id = 1;
required string shard_id = 2;
}
stream_id:
-
Type: required string
-
The ID of the current stream.
shard_id:
-
Type: required string
-
The ID of the current shard.
Response message structure:
message GetShardIteratorResponse {
required string shard_iterator = 1;
}
shard_iterator:
-
Type: required string
-
The start iterator for reading the record of the current shard.