kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guozhang Wang <wangg...@gmail.com>
Subject Re: question about console producer behavior
Date Mon, 03 Nov 2014 15:48:38 GMT
Hi,

Producers will only refresh their metadata periodically if there is no
exceptions caught sending the data, you can config this period in "
topic.metadata.refresh.interval.ms" (default is 600 seconds).

Guozhang

On Mon, Nov 3, 2014 at 6:51 AM, raymond <rgbbones.mail@gmail.com> wrote:

> Hi
>
> It appears to me that, when I have opened a console producer, it will not
> notice the topic’s partition change?
>
> say I have a topic with 3 partitions. And I opened a console producer to
> produce data with key, then it will distribute data into 3 partitions. Then
> , I keep this producer open, and change the topic’s partition to e.g. 4.
> This producer will not distribute data into the 4th partition, while a
> newly created producer will.
>
> Is this behavior expected?
>
>


-- 
-- Guozhang

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