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

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

Required methods

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

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

Loading content...

Implementors

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

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

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

Loading content...