Question 1
An administrator is investigating a Kafka cluster where producers are experiencing high latency and frequent timeouts. The topic in question has a replication factor of 3 and min.insync.replicas is set to 2. Monitoring reveals that one of the three brokers hosting partitions for this topic is consistently exhibiting high disk I/O wait times, causing it to frequently fall out of the In-Sync Replica (ISR) set. What is the most effective initial action to mitigate the producer latency while ensuring data durability is not compromised below the configured minimum?
Answer and explanation
Correct answer: C
This is the most effective initial step. By moving the partition leadership to healthy brokers, producers will no longer be dependent on the slow broker for acknowledging writes. This directly addresses the latency issue without changing durability settings, allowing the administrator to investigate the disk I/O problem on the affected broker without impacting production traffic.