Partition
- class PartitionService(internal_partition_service, serialization_service, send_schema_and_retry_fn)[source]
Bases:
objectAllows retrieving information about the partition count, the partition owner or the partition id of a key.
- get_partition_owner(partition_id: int) UUID | None[source]
Returns the owner of the partition if it’s set,
Noneotherwise.- Parameters:
partition_id – The partition id.
- Returns:
Owner of the partition