The broker maintains a high watermark for each topic partition log.
This high watermark moves only after the messages are written to disk.
And, the consumer can only consume data exposed by this high
watermark.

Thanks,
Neha

On Wed, Jun 20, 2012 at 10:02 AM, R S <mypostbo...@gmail.com> wrote:
> Hi,
>
> When producer sends messages to broker on a particular topic and at the
> sametime  suppose consumer is fetching messages from the same topic. Will
> broker be sending message to consumer only after writing the message to
> disk or would writing to disk will happen in a asynchronous way.
>
>
> regards,
> rks

Reply via email to