You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Bhavesh Mistry <mi...@gmail.com> on 2014/09/12 02:56:01 UTC
[Java New Producer Configuration] Maximum time spent in Queue in
Async mode
Hi Kafka team,
How do I configure a max amount a message spend in Queue ? In old
producer, there is property called queue.buffering.max.ms and it is not
present in new one. Basically, if I just send one message that is less
than batch size, what is amount of time message will be in local Producer
Queue ?
How do I control the time a message time spent in Queue with configuration
and batch size never reaches configuration limit ?
Thanks,
Bhavesh
Re: [Java New Producer Configuration] Maximum time spent in Queue in
Async mode
Posted by Jun Rao <ju...@gmail.com>.
This is controlled by linger.ms in the new producer in trunk.
Thanks,
Jun
On Thu, Sep 11, 2014 at 5:56 PM, Bhavesh Mistry <mi...@gmail.com>
wrote:
> Hi Kafka team,
>
> How do I configure a max amount a message spend in Queue ? In old
> producer, there is property called queue.buffering.max.ms and it is not
> present in new one. Basically, if I just send one message that is less
> than batch size, what is amount of time message will be in local Producer
> Queue ?
>
> How do I control the time a message time spent in Queue with configuration
> and batch size never reaches configuration limit ?
>
> Thanks,
>
> Bhavesh
>