pub enum TopicReplication<'a> {
    Fixed(i32),
    Variable(PartitionAssignment<'a>),
}
Expand description

Replication configuration for a new topic.

Variants

Fixed(i32)

All partitions should use the same fixed replication factor.

Variable(PartitionAssignment<'a>)

Each partition should use the replica assignment from PartitionAssignment.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.