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

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[src]

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

Loading content...

Implementors

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

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

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

Loading content...