[ https://issues.apache.org/jira/browse/KAFKA-2273?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15183462#comment-15183462 ]
ASF GitHub Bot commented on KAFKA-2273: --------------------------------------- GitHub user vahidhashemian opened a pull request: https://github.com/apache/kafka/pull/1020 KAFKA-2273: Sticky partition assignment strategy This PR implements a new partition assignment strategy called "sticky", and it's purpose is to balance partitions across consumers in a way that minimizes moving partitions around, or, in other words, preserves existing partition assignments as much as possible. You can merge this pull request into a Git repository by running: $ git pull https://github.com/vahidhashemian/kafka KAFKA-2273 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/1020.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #1020 ---- commit 1f774ea784e57377752f55dd4fe91212e8bcbda1 Author: Vahid Hashemian <vahidhashem...@us.ibm.com> Date: 2016-02-18T13:44:17Z KAFKA-2273: Sticky partition assignment strategy This PR implements a new partition assignment strategy called "sticky", and it's purpose is to balance partitions across consumers in a way that minimizes moving partitions around, or in other words, preserving partition assignments as much as possible. ---- > Add rebalance with a minimal number of reassignments to server-defined > strategy list > ------------------------------------------------------------------------------------ > > Key: KAFKA-2273 > URL: https://issues.apache.org/jira/browse/KAFKA-2273 > Project: Kafka > Issue Type: Sub-task > Components: consumer > Reporter: Olof Johansson > Assignee: Vahid Hashemian > Labels: newbie++, newbiee > Fix For: 0.10.1.0 > > > Add a new partitions.assignment.strategy to the server-defined list that will > do reassignments based on moving as few partitions as possible. This should > be a quite common reassignment strategy especially for the cases where the > consumer has to maintain state, either in memory, or on disk. -- This message was sent by Atlassian JIRA (v6.3.4#6332)