August 2017
Beginner to intermediate
278 pages
6h 40m
English
Replication factor is one of the main factors in capacity planning. As a rule of thumb, one single broker can only host only one partition replica. If that had not been the case, one broker failure could have caused Kafka to become unavailable.
Hence, the number of brokers must be greater than, or equal to, the number of replicas. As you can clearly observe, the number of replicas not only decides the number of failures Kafka can handle, but also helps in deciding the minimum number of broker servers required for your Kafka cluster.
Read now
Unlock full access