GitHub user zqhxuyuan opened a pull request: https://github.com/apache/kafka/pull/817
valueFactory's key is consumerId the key of partitionAssignment's valueFactory is consumerId, not topic. partitionAssignment.getAndMaybePut(threadId.consumer) You can merge this pull request into a Git repository by running: $ git pull https://github.com/zqhxuyuan/kafka trunk Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/817.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 #817 ---- commit 938e4e11d9cbdf6e3d6b70b2f619c8d4872c6b7f Author: zqh <zqhxuy...@gmail.com> Date: 2016-01-27T06:59:09Z valueFactory's key is consumerId the key of partitionAssignment's valueFactory is consumerId, not topic. partitionAssignment.getAndMaybePut(threadId.consumer) ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---