Trait fluvio::metadata::partition::store::PartitionMd [−]
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>,
S: Into<String>,
Implementors
impl<C> PartitionMd<C> for MetadataStoreObject<PartitionSpec, C> where
C: MetadataItem,
C: MetadataItem,
pub fn with_replicas(
key: ReplicaKey,
replicas: Vec<i32, Global>
) -> MetadataStoreObject<PartitionSpec, C>
key: ReplicaKey,
replicas: Vec<i32, Global>
) -> MetadataStoreObject<PartitionSpec, C>
create new partition with replica map. first element of replicas is leader
pub fn quick<S>(
partition: ((S, i32), Vec<i32, Global>)
) -> MetadataStoreObject<PartitionSpec, C> where
S: Into<String>,
partition: ((S, i32), Vec<i32, Global>)
) -> MetadataStoreObject<PartitionSpec, C> where
S: Into<String>,