apache_beam.utils.sharded_key module

class apache_beam.utils.sharded_key.ShardedKey(key, shard_id)[source]

Bases: object

A sharded key consisting of a user key and an opaque shard id represented by bytes.

key

The user key.

shard_id

An opaque byte string that uniquely represents a shard of the key.

key