[ https://issues.apache.org/jira/browse/KAFKA-4427?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Guozhang Wang resolved KAFKA-4427. ---------------------------------- Resolution: Fixed Issue resolved by pull request 2171 [https://github.com/apache/kafka/pull/2171] > 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)