Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Kafka >> mail # user >> 0.8 Durability Question

Jonathan Hodges 2013-06-13, 10:29
Copy link to this message
Re: 0.8 Durability Question
No. It only means that messages are written to all replicas in memory. Data
is flushed to disk asynchronously.

On Jun 13, 2013 3:29 AM, "Jonathan Hodges" <[EMAIL PROTECTED]> wrote:

> Looking at Jun’s ApacheCon slides (
> http://www.slideshare.net/junrao/kafka-replication-apachecon2013) slide 21
> titled, ‘Data Flow in Replication’ there are three possible durability
> configurations which tradeoff latency for greater persistence guarantees.
> The third row is the ‘no data loss’ configuration option where the producer
> only receives an ack from the broker once the message(s) are committed by
> the leader and peers.  Does this commit also mean the message(s) are
> flushed to disk?  I know there is a separate configuration setting,
> log.flush.interval.messages, but I thought in sync mode the producer
> doesn’t receive an ack until message(s) are committed and flushed to disk.
>  Please correct me if my understanding is incorrect.
> Thanks,
> Jonathan

Jonathan Hodges 2013-06-13, 14:36