From users-return-4338-apmail-kafka-users-archive=kafka.apache.org@kafka.apache.org Thu May 9 16:17:16 2013 Return-Path: X-Original-To: apmail-kafka-users-archive@www.apache.org Delivered-To: apmail-kafka-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 69E54F85A for ; Thu, 9 May 2013 16:17:16 +0000 (UTC) Received: (qmail 58842 invoked by uid 500); 9 May 2013 16:17:16 -0000 Delivered-To: apmail-kafka-users-archive@kafka.apache.org Received: (qmail 58809 invoked by uid 500); 9 May 2013 16:17:16 -0000 Mailing-List: contact users-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@kafka.apache.org Delivered-To: mailing list users@kafka.apache.org Received: (qmail 58801 invoked by uid 99); 9 May 2013 16:17:16 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 May 2013 16:17:16 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of neha.narkhede@gmail.com designates 74.125.82.179 as permitted sender) Received: from [74.125.82.179] (HELO mail-we0-f179.google.com) (74.125.82.179) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 09 May 2013 16:17:10 +0000 Received: by mail-we0-f179.google.com with SMTP id t59so3207689wes.10 for ; Thu, 09 May 2013 09:16:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=pXYX9OowsT4vHTGaUoNBRezY39dv4bxa9Oa6ExdrScc=; b=g4NXye6ePHmXKu4jFPVaeT3cxOPyN7K8mq+qHOdJ8D64AEKkIqLAHeLiSi/9HC9keo pY8aXWhzE9eQ+7RWYkht4veYkyrqCerH1hZIRYXlry+6+Sc/6W34+YaIqGak/nD3xyen 6I6T/hhukAXAABW0USr4ANRLH1IJmYlZCurVNSRGQtzNftrQldsj8Ggj3+d7Vjwb0uTA FC2VVKF9nQC7EII9QDB9FUiu0hEpWw4BAKMugWSmAvteTfKizvxrxPpcoRWVPc3vhhxr 00S8VdEAcXAPiEg+j4mSEX+KQi7ptqhQsg2jgmmzgHYS/lTy3S9sNqLf+60m0bPSId/J KbUw== MIME-Version: 1.0 X-Received: by 10.180.88.162 with SMTP id bh2mr18697156wib.3.1368115673744; Thu, 09 May 2013 09:07:53 -0700 (PDT) Received: by 10.216.109.9 with HTTP; Thu, 9 May 2013 09:07:53 -0700 (PDT) In-Reply-To: References: Date: Thu, 9 May 2013 09:07:53 -0700 Message-ID: Subject: Re: can the replication factor for a topic be changed after it's created? From: Neha Narkhede To: "users@kafka.apache.org" Content-Type: multipart/alternative; boundary=f46d04426c58becad604dc4b4084 X-Virus-Checked: Checked by ClamAV on apache.org --f46d04426c58becad604dc4b4084 Content-Type: text/plain; charset=ISO-8859-1 Jun, the question is whether or not you can increase the replication factor of a partition through the partition reassignment tool or not. I think you can but I'm not sure until I test this. Thanks, Neha On Thu, May 9, 2013 at 7:58 AM, Jun Rao wrote: > Currently, we don't allow the replication factor of an existing > topic/partition to be changed. We plan to add a tool to do that in the > future. > > Thanks, > > Jun > > > On Wed, May 8, 2013 at 11:52 PM, Jason Rosenberg wrote: > > > so does that, thereby, allow you to increase the replication for a > > partition? > > > > > > On Wed, May 8, 2013 at 10:48 PM, Neha Narkhede > >wrote: > > > > > If you add more brokers to an existing cluster, you can use the > partition > > > reassignment admin tool to move a replica of selected partitions over > to > > > the new broker. > > > > > > Thanks, > > > Neha > > > > > > > > > On Wed, May 8, 2013 at 10:27 PM, Jason Rosenberg > > wrote: > > > > > > > It looks like by default, the first time a new message arrives for a > > > given > > > > topic, it will receive the default replication factor in place on the > > > > broker at the time it is first received. > > > > > > > > Is it possible to change this later (e.g. say if we add more hardware > > to > > > > the cluster at a later date, etc.)? > > > > > > > > Thanks, > > > > > > > > Jason > > > > > > > > > > --f46d04426c58becad604dc4b4084--