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

Switch to Threaded View
Kafka >> mail # user >> Re: sync and async


Copy link to this message
-
Re: sync and async
Async producer just wraps sync producer and handles batching. So whether
you use async producer or sync producer, it will use the
request.required.acks only for the sync producer.

Thanks,
Neha
On Tue, Jun 4, 2013 at 3:05 PM, Yu, Libo <[EMAIL PROTECTED]> wrote:

> Hi
>
> What is the difference between an aync producer and a sync producer
> with request.required.acks=0? Is there any case where an
> sync producer with request.required.acks=0 is used?
> Thanks.
>
> Regards,
>
> Libo
>
>