Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # user >> how request.required.acks works


Copy link to this message
-
Re: how request.required.acks works
The message will be written to the leader as well as the replicas.

Thanks,
Neha
On Thu, Oct 24, 2013 at 7:08 PM, Guozhang Wang <[EMAIL PROTECTED]> wrote:

> Hi,
>
> In this case the request would be treated as timed out and hence failed, if
> the producer is async then after the number of retries it still failed, the
> messages will be dropped.
>
> Guozhang
>
>
> On Thu, Oct 24, 2013 at 6:50 PM, Kane Kane <[EMAIL PROTECTED]> wrote:
>
> > If i set request.required.acks to -1, and set relatively short
> > request.timeout.ms and timeout happens before all replicas acknowledge
> the
> > write - would be message written to the leader or dropped?
> >
>
>
>
> --
> -- Guozhang
>

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB