Kafka, Java, Interview, Coding, Microservices.
acknowledgement from the leader replica only. This offers a balance between durability and performance. With replication and acknowledgement strategies, Kafka ensures data isn’t lost due to broker failures. Even if a broker goes down, its data remains available on the replicas, enabling the system