GitHub user jmlvanre opened a pull request:
https://github.com/apache/kafka/pull/16
Adding rack-aware replication option.
Adding rack-aware replication option. rack-id defaults to -1. use the
max-rack-replication option when creating a topic to distribute replicas such
that no more than max-rack-replication replicas are hosted on the same rack-id.
This option is also enforced when adding new partitions. The option does not
enforce manual (re)assignment.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jmlvanre/kafka rack-aware-replication
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/16.patch
----
commit 088cc3b019abe6cd1ca49dd8eff1335bc37d4adf
Author: jmlvanre <[email protected]>
Date: 2014-02-01T00:03:41Z
Adding rack-aware replication option. rack-id defaults to -1. use the
max-rack-replication option when creating a topic to distribute replicas such
that no more than max-rack-replication replicas are hosted on the same rack-id.
This option is also enforced when adding new partitions. The option does not
enforce manual (re)assignment.
----