kafka-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jun Rao <jun...@gmail.com>
Subject Re: Changing the number of partitions after a topic is created
Date Fri, 05 Jul 2013 19:08:22 GMT
No. However, you can specify the # of partitions when you create a topic
using the create-topic command line tool.

Thanks,

Jun


On Fri, Jul 5, 2013 at 6:45 AM, Yu, Libo <libo.yu@citi.com> wrote:

> 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.
>
> Regards,
>
> Libo
>
>
> -----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.
>
> Thanks,
>
> Jun
>
>
> 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
> >
>

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