Skip to content

Shard

Source code in docs_src/capo_keyspacesstreams/types/shard.py
class Shard(TypedDict, closed=True):
    shard_id: NotRequired["capo_keyspacesstreams.types.shard_id.ShardId"]
    """<p>A unique identifier for this shard within the stream.</p>"""
    sequence_number_range: NotRequired[
        "capo_keyspacesstreams.types.sequence_number_range.SequenceNumberRange"
    ]
    """<p>The range of sequence numbers contained within this shard.</p>"""
    parent_shard_ids: NotRequired[
        "capo_keyspacesstreams.types.shard_id_list.ShardIdList"
    ]
    """<p>The identifiers of parent shards that this shard evolved from, if this shard was created through resharding.</p>"""

parent_shard_ids instance-attribute

parent_shard_ids: NotRequired[ShardIdList]

The identifiers of parent shards that this shard evolved from, if this shard was created through resharding.

sequence_number_range instance-attribute

sequence_number_range: NotRequired[SequenceNumberRange]

The range of sequence numbers contained within this shard.

shard_id instance-attribute

shard_id: NotRequired[ShardId]

A unique identifier for this shard within the stream.