...

/

Kafka's Messaging Guarantees

Kafka's Messaging Guarantees

Let's explore the messaging guarantees provided by Kafka.

Kafka can provide at-least-once, at-most-once and exactly-once messaging guarantees through different configurations. Let’s explore each one of them separately:

At-most-once semantics

At-most-once semantics is achieved on the producer side by disabling any retries. If the write fails (e.g., due to a TimeoutException), the producer will not retry the request. Moreover the message might or might not be delivered depending on whether it had reached ...