You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@kafka.apache.org by Eduardo Alfaia <ed...@gmail.com> on 2015/11/02 16:33:01 UTC

Error Producer

Hi guys,

How could I solve this problem? 

%Failed to produce message: Local: Queue full

Thanks

Re: Error Producer

Posted by Li Tao <ah...@gmail.com>.
Your producer produces messages faster than the broker can consume it.
You can
1. set buffer size for producer (queue.buffering.max.messages) larger to
reduce the frequency of sending message
2. Add more brokers/partitions to consume the message.

On Mon, Nov 2, 2015 at 11:33 PM, Eduardo Alfaia <ed...@gmail.com>
wrote:

> Hi guys,
>
> How could I solve this problem?
>
> %Failed to produce message: Local: Queue full
>
> Thanks
>

Re: Error Producer

Posted by Damian Guy <da...@gmail.com>.
You can try altering some config on your producers, see here: https://kafka.apache.org/documentation.html#producerconfigs

To control how many messages are buffered and how often the buffer is flushed:
queue.buffering.max.ms
queue.buffering.max.messages

To control the behaviour when the buffer is full
queue.enqueue.timeout.ms

Cheers,
Damian

> On 2 Nov 2015, at 15:33, Eduardo Alfaia <ed...@gmail.com> wrote:
> 
> Hi guys,
> 
> How could I solve this problem? 
> 
> %Failed to produce message: Local: Queue full
> 
> Thanks