kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yu, Libo " <libo...@citi.com>
Subject RE: Changing the number of partitions after a topic is created
Date Fri, 05 Jul 2013 13:45:38 GMT
Hi Jun,

Is it possible to specify a different partition number for each topic in the server.properties
for 0.8?
There is no documentation about that in the file.



-----Original Message-----
From: Jun Rao [mailto:junrao@gmail.com] 
Sent: Friday, July 05, 2013 12:06 AM
To: users@kafka.apache.org
Subject: Re: Changing the number of partitions after a topic is created

Currently, once a topic is created, the number of partitions can't be changed. We are working
on a tool to allow that. For now, you will have to either use a new topic with more partitions
or if you don't care about messages being consumed in order, you can feed the consumed messages
to a separate thread pool for processing.



On Thu, Jul 4, 2013 at 8:11 AM, Calvin Lei <ckplei@gmail.com> wrote:

> Hi I have a few topics created with 1 partition. After running the 
> cluster for a few days, I want to increase the partition to 10 to 
> improve the consumer throughput. I learnt that it is not supported in 0.8.
> What is the recommendation of improving consumer throughput after a 
> topic is created and the data volume increased?
> Regards,
> Cal

View raw message