Trait fluvio::metadata::partition::store::PartitionMd[]

pub trait PartitionMd<C> where
    C: MetadataItem
{ pub fn with_replicas(key: ReplicaKey, replicas: Vec<i32, Global>) -> Self;
pub fn quick<S>(partition: ((S, i32), Vec<i32, Global>)) -> Self
    where
        S: Into<String>
; }

Required methods

pub fn with_replicas(key: ReplicaKey, replicas: Vec<i32, Global>) -> Self

pub fn quick<S>(partition: ((S, i32), Vec<i32, Global>)) -> Self where
    S: Into<String>, 

Loading content...

Implementors

impl<C> PartitionMd<C> for MetadataStoreObject<PartitionSpec, C> where
    C: MetadataItem

pub fn with_replicas(
    key: ReplicaKey,
    replicas: Vec<i32, Global>
) -> MetadataStoreObject<PartitionSpec, C>

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

Loading content...