GitHub user jmlvanre opened a pull request:

    https://github.com/apache/kafka/pull/14

    Rack-Aware replica assignment option

    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.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jmlvanre/kafka 0.8

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/kafka/pull/14.patch

----
commit e16d4fa8db4307e0e54f51f81cfc4c348163f9b3
Author: jmlvanre <[email protected]>
Date:   2014-01-23T02:13:05Z

    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).

----

Reply via email to