You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by SuoNayi <su...@163.com> on 2012/02/09 06:46:04 UTC

Why synchronous producer does not receive response from broker?

Hi all,
   I have just found that my synchronous producers do not receive any data from broker.
   As far I know, the synchronous producer should receive the acknowledgement from broker 
   to ensure that messages are delivered successfully or not.
   But why kafka broker does not answer the request of producer with acknowledgement ?
   Is there any other way for producer to ensure the successful delivery?

Re: Why synchronous producer does not receive response from broker?

Posted by Jun Rao <ju...@gmail.com>.
SuoNayi,

In 0.7, producer doesn't receive acks from brokers. We plan to change that
in 0.8. Please refer to kafka-50 and kafka-49.

Thanks,

Jun

2012/2/8 SuoNayi <su...@163.com>

> Hi all,
>   I have just found that my synchronous producers do not receive any data
> from broker.
>   As far I know, the synchronous producer should receive the
> acknowledgement from broker
>   to ensure that messages are delivered successfully or not.
>   But why kafka broker does not answer the request of producer with
> acknowledgement ?
>   Is there any other way for producer to ensure the successful delivery?