replication factor

The number of copies Kafka keeps of each partition, including the leader.

In more detail

A replication factor of three tolerates the loss of two brokers without losing committed data, provided the survivors were in sync. Production clusters typically use three, which is why they need at least three brokers.

Example

rpk topic create orders -p 3 -r 3

Related terms

Taught in

References

Certification courses