Yes, what you did is correct. See details in
https://cwiki.apache.org/confluence/display/KAFKA/FAQ#FAQ-Whyisdatanotevenlydistributedamongpartitionswhenapartitioningkeyisnotspecified
?

It seems that it doesn't work all the time. What version of Kafka are you
using?

Thanks,

Jun

On Mon, Oct 20, 2014 at 9:00 PM, Mungeol Heo <mungeol....@gmail.com> wrote:

> Hi,
>
> I have a question about 'topic.metadata.refresh.interval.ms'
> configuration.
> As I know, the default value of it is 10 minutes.
> Does it means that producer will change the partition at every 10 minutes?
> What I am experiencing is producer does not change to another
> partition at every 10 minutes.
> Sometime, It never changed during the process which costs about 25 minutes.
> I also changed the value of it to 1 minute for testing.
> It looks like working well at first time.
> However, same problem happens start from second test.
> Sometime, it takes more than 10 minutes to change the partition even
> if I set the value as 1 minute.
> Am i missing something?
> Any help will be great.
>
> Thanks.
>

Reply via email to