edit-icon download-icon

GetShardIterator

Last Updated: Mar 23, 2018

Action:

GetShardIterator obtains the start iterator for reading the record information of the current shard.

Request structure:

  1. message GetShardIteratorRequest {
  2. required string stream_id = 1;
  3. required string shard_id = 2;
  4. }

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:

  1. message GetShardIteratorResponse {
  2. required string shard_iterator = 1;
  3. }

shard_iterator:

  • Type: required string

  • The start iterator for reading the record of the current shard.

Thank you! We've received your feedback.