RE: Changing the number of partitions after a topic is created

2013-07-05 Thread Yu, Libo
Thanks, Jun. Have a good weekend. Regards, Libo -Original Message- From: Jun Rao [mailto:jun...@gmail.com] Sent: Friday, July 05, 2013 3:08 PM To: users@kafka.apache.org Subject: Re: Changing the number of partitions after a topic is created No. However, you can specify the # of parti

Re: Changing the number of partitions after a topic is created

2013-07-05 Thread Jun Rao
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 wrote: > Hi Jun, > > Is it possible to specify a different partition number for each topic in > the server.properties for 0.8

Re: Kafka rolling upgrade

2013-07-05 Thread Hanish Bansal
Thanks Jun ! On Fri, Jul 5, 2013 at 9:38 AM, Jun Rao wrote: > Kafka 0.8 is not backward compatible with 0.7. So you can't do inplace > upgrade. We do have a migration tool. See > https://cwiki.apache.org/confluence/display/KAFKA/Migrating+from+0.7+to+0.8 > > Thanks, > > Jun > > > On Thu, Jul 4,

RE: PID files for monitoring two different instances of Kafka on same machine

2013-07-05 Thread Yu, Libo
On linux, "echo $! > pid.txt" will save the PID of the previous background job to a file. If you run java to launch kafka directly rather than using the provided scripts, it can save process pid into the file. Regards, Libo -Original Message- From: Jun Rao [mailto:jun...@gmail.com

RE: Changing the number of partitions after a topic is created

2013-07-05 Thread Yu, Libo
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:jun...@gmail.com] Sent: Friday, July 05, 2013 12:06 AM To: users@ka