Return-Path: X-Original-To: apmail-kafka-dev-archive@www.apache.org Delivered-To: apmail-kafka-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6350C10B26 for ; Mon, 3 Mar 2014 18:40:29 +0000 (UTC) Received: (qmail 44927 invoked by uid 500); 3 Mar 2014 18:40:23 -0000 Delivered-To: apmail-kafka-dev-archive@kafka.apache.org Received: (qmail 44875 invoked by uid 500); 3 Mar 2014 18:40:22 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 44862 invoked by uid 99); 3 Mar 2014 18:40:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Mar 2014 18:40:22 +0000 Date: Mon, 3 Mar 2014 18:40:22 +0000 (UTC) From: "Guozhang Wang (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KAFKA-1215) Rack-Aware replica assignment option MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KAFKA-1215?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13918391#comment-13918391 ] Guozhang Wang commented on KAFKA-1215: -------------------------------------- Some more comments on the RB. > Rack-Aware replica assignment option > ------------------------------------ > > Key: KAFKA-1215 > URL: https://issues.apache.org/jira/browse/KAFKA-1215 > Project: Kafka > Issue Type: Improvement > Components: replication > Affects Versions: 0.8.0 > Reporter: Joris Van Remoortere > Assignee: Jun Rao > Fix For: 0.8.2 > > Attachments: rack_aware_replica_assignment_v1.patch, rack_aware_replica_assignment_v2.patch > > > Adding a rack-id to kafka config. This rack-id can be used during replica assignment by using the max-rack-replication argument in the admin scripts (create topic, etc.). By default the original replication assignment algorithm is used because max-rack-replication defaults to -1. max-rack-replication > -1 is not honored if you are doing manual replica assignment (preffered). > If this looks good I can add some test cases specific to the rack-aware assignment. > I can also port this to trunk. We are currently running 0.8.0 in production and need this, so i wrote the patch against that. -- This message was sent by Atlassian JIRA (v6.2#6252)