[][src]Trait fluvio_controlplane_metadata::partition::store::PartitionMd

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; }

Required methods

pub fn with_replicas(key: ReplicaKey, replicas: Vec<SpuId>) -> Self[src]

pub fn quick<S: Into<String>>(partition: ((S, i32), Vec<i32>)) -> Self[src]

Loading content...

Implementors

impl<C: MetadataItem> PartitionMd<C> for PartitionMetadata<C>[src]

pub fn with_replicas(key: ReplicaKey, replicas: Vec<SpuId>) -> Self[src]

create new partition with replica map. first element of replicas is leader

Loading content...