kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun Rao <jun...@gmail.com>
Subject Re: async producer and new ack levels
Date Fri, 31 May 2013 05:34:47 GMT
If async mode, messages are sent using the configured ack level. There is
no callback in the async mode right now. We plan to enhance that in the
future.

Thanks,

Jun


On Thu, May 30, 2013 at 9:50 PM, Jason Rosenberg <jbr@squareup.com> wrote:

> With 0.8, we now have ack levels when sending messages.  I'm wondering how
> this applies when sending messages in async mode.  Are there any guarantees
> at least that each async batch will wait for the requested ack level before
> sending the next batch?
>
> I assume there is still a disconnect between sending a message and really
> knowing if it was delivered, in async mode.  Is it necessary to create an
> eventHandler to try to manage things in this case?
>
> Perhaps, if acknowledgements are desired, with the efficiency of batch
> sending, it would make more sense to use a synchronous producer, and use
> the batch sending mode (e.g. send a list of messages).
>
> Jason
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message