Grokking the Advanced System Design Interview
Ask Author
Back to course home

0% completed

Kafka Delivery Semantics

Let's explore what message delivery guarantees Kafka provides to its clients.

Producer delivery semantics

As we know, a producer writes only to the leader broker, and the followers asynchronously replicate the data. How can a producer know that the data is successfully stored at the leader or that the followers are keeping up with the leader? Kafka offers three options to denote the number of brokers that must receive the record before the producer considers the write as successful:

  • Async: Producer sends a message to Kafka and does not wait for acknowledgment from the server




Like the course? Get enrolled and start learning!