1.

Why is Topic Replication important in Kafka? What do you mean by ISR in Kafka?

Answer»

Topic replication is CRITICAL for constructing KAFKA deployments that are both durable and highly AVAILABLE. When one broker fails, topic replicas on other brokers remain available to ensure that data is not lost and that the Kafka DEPLOYMENT is not disrupted. The replication factor specifies the number of copies of a topic that are kept across the Kafka cluster. It takes place at the partition level and is defined at the subject level. A replication factor of two, for example, will keep two copies of a topic for each partition.

Each partition has an elected leader, and other brokers store a copy that can be used if necessary. Logically, the replication factor cannot be more than the cluster's total number of brokers. An In-Sync REPLICA (ISR) is a replica that is up to date with the partition's leader.



Discussion

No Comment Found