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

Switch to Threaded View
Kafka, mail # user - Message latency


Copy link to this message
-
Re: Message latency
Guozhang Wang 2014-02-04, 21:10
That is correct if your producer ack > 1.

Guozhang
On Tue, Feb 4, 2014 at 11:57 AM, Michael Popov <[EMAIL PROTECTED]> wrote:

> Hi,
>
> I am trying to understand what influences message latency in Kafka.
>
> According to the Kafka Replication Design document (
> https://linkedin.jira.com/secure/attachment/10050/kafka_replication_highlevel_design.pdf
> ):
>
> 1.       Writes: Once the leader receives the acknowledgment from all
> replicas in ISR, the message is committed. The leader advances the HW and
> sends an acknowledgment to the client (page 4)
>
> 2.       Reads: Only messages up to the HW are exposed to the reader (page
> 5)
>
> It means message latency depends on how fast followers pulled data from
> the leader and reported successful data writes.
> Is this correct?
>
> Thank you,
> Michael Popov
>
>
--
-- Guozhang