[
https://issues.apache.org/jira/browse/KAFKA-4427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15696165#comment-15696165
]
ASF GitHub Bot commented on KAFKA-4427:
---------------------------------------
GitHub user enothereska opened a pull request:
https://github.com/apache/kafka/pull/2171
KAFKA-4427: Skip topic groups with no tasks
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/enothereska/kafka
KAFKA-4427-topicgroups-with-no-tasks
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/kafka/pull/2171.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 #2171
----
commit 768f809570132d70a2b40c642b6e2112a346b4e8
Author: Eno Thereska <[email protected]>
Date: 2016-11-25T15:53:03Z
Skip topic groups with no tasks
----
> Skip topicGroups with no tasks
> ------------------------------
>
> Key: KAFKA-4427
> URL: https://issues.apache.org/jira/browse/KAFKA-4427
> Project: Kafka
> Issue Type: Bug
> Components: streams
> Affects Versions: 0.10.2.0
> Reporter: Eno Thereska
> Assignee: Eno Thereska
> Fix For: 0.10.2.0
>
>
> Currently the StreamPartitionAssignor's "assign" method does not handle cases
> where we don't have tasks for a particular topic group. E.g., code like this
> might give an NPE:
> "for (TaskId task : tasksByTopicGroup.get(topicGroupId))"
> We need to handle the above cases.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)