Trait PartitionMd
fluvio_controlplane_metadata::partition::store
pub trait PartitionMd<C: MetadataItem> { pub fn with_replicas(key: ReplicaKey, replicas: Vec<SpuId>) -> Self; pub fn quick<S: Into<String>>(partition: ((S, i32), Vec<i32>)) -> Self; }
pub fn with_replicas(key: ReplicaKey, replicas: Vec<SpuId>) -> Self
pub fn quick<S: Into<String>>(partition: ((S, i32), Vec<i32>)) -> Self
impl<C: MetadataItem> PartitionMd<C> for PartitionMetadata<C>
create new partition with replica map. first element of replicas is leader