From the course: Apache Kafka Essential Training: Building Scalable Applications
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Acknowledgments in Kafka - Kafka Tutorial
From the course: Apache Kafka Essential Training: Building Scalable Applications
Acknowledgments in Kafka
- [Instructor] In the previous video, we discussed how the various publishing modes depend upon acknowledgements from the Kafka broker. Let's explore more about acknowledgement options in this video. What is a Kafka acknowledgement? A producer client needs to know if the message has been successfully received and stored by the broker. It is also helpful to know if the message has been replicated, so in case of broker failures, the message is still available. The behavior of acknowledgements is controlled by the parameter ACKS. This parameter is set on the producer's side during broker configuration. It determines the number of replicas of a partition that must successfully receive the message before the send operation is declared successful. Do note that the producer only sends the message to the leader partition and then it is the leader partition that needs to propagate this message to the replicas. The more the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.