Enum rdkafka::admin::TopicReplication [−][src]
pub enum TopicReplication<'a> {
Fixed(i32),
Variable(PartitionAssignment<'a>),
}
Expand description
Replication configuration for a new topic.
Variants
Fixed(i32)
Tuple Fields
0: i32
All partitions should use the same fixed replication factor.
Variable(PartitionAssignment<'a>)
Tuple Fields
0: PartitionAssignment<'a>
Each partition should use the replica assignment from
PartitionAssignment
.