You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Libo Yu <yu...@hotmail.com> on 2014/05/30 02:24:21 UTC
another question about Synchronous producer
Hi,
Assume I am using a synchronous producer and request.required.acks is set to 0 (default).
When java api Producer.send(message) returns, is the message acknowledged? Is there any
chance of message loss in the case? Thanks.
Libo
Re: another question about Synchronous producer
Posted by Guozhang Wang <wa...@gmail.com>.
Libo,
No there will be no ACKs sent back, messages may failed to reach the broker
but producers will not be notified in this case.
Guozhang
On Thu, May 29, 2014 at 5:24 PM, Libo Yu <yu...@hotmail.com> wrote:
> Hi,
>
> Assume I am using a synchronous producer and request.required.acks is set
> to 0 (default).
> When java api Producer.send(message) returns, is the message acknowledged?
> Is there any
> chance of message loss in the case? Thanks.
>
> Libo
>
--
-- Guozhang