I am trying to understand when does Kafka signal to the producer that the message was successfully accepted into Kafka.
Does Kafka: 1) Write to the pagecache of the node's OS and then return back an ACK ? If so, then there is potential for message loss if the node crashes before fsync to disk. But the upside is reduced latency as writes to the pagecache are very fast compared to a fsync to disk. 2) Wait for an fsync to happen on each message ? If so, then there is increased latency but guarantees each message is written to disk 3) Or is this a purely configurable option between the two ? -- Regards, Sreyan Chakravarty