Kafka, Java, Interview, Coding, Microservices.
Recovery: If a leader broker fails, Kafka automatically triggers a leader election process.One of the in-sync followers becomes the new leader, and the data replication continues. Consumers can continue reading data from the new leader with minimal interruption. Producer Acknowledgements: