Kafka Message Delivery Guarantees, Message Compression and Log Compaction
On a high level, Kafka provides following guarantees:
-
Messages sent by a producer to a particular topic partition will be appended in the order they are sent.
-
If a message M1 is sent by the same producer as a message M2, and M1 is sent first, then M1 will have a lower offset than M2 and appear earlier in the log.
-
Recent comments