You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by Manjunath Shivakumar <Ma...@betfair.com> on 2014/08/20 14:53:55 UTC

FW: fsync behaviour

Hi,

Cross posting to devs for elaboration.

Thanks,
Manju
________________________________________
From: Manjunath Shivakumar [Manjunath.Shivakumar@betfair.com]
Sent: 20 August 2014 02:00
To: users@kafka.apache.org
Subject: fsync behaviour

Hi,

I wanted to understand the exact behaviour of kafka ( 0.8.1.1 ) w.r.t fsync. I have read the documentation and some related forum posts, but wanted to confirm the understanding here.

1) If we set the log flush to happen on every message, will it happen synchronously with each produce request, or happen in the background, while the produce request returns immediately?

2) If the fsync happens asynchronous to the produce requests, will the consumers be able to see the messages which are yet to be fsync'ed.

Thanks,
Manjunath

________________________________________________________________________
In order to protect our email recipients, Betfair Group use SkyScan from
MessageLabs to scan all Incoming and Outgoing mail for viruses.

________________________________________________________________________

________________________________________________________________________
In order to protect our email recipients, Betfair Group use SkyScan from 
MessageLabs to scan all Incoming and Outgoing mail for viruses.

________________________________________________________________________