You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Eno Thereska (JIRA)" <ji...@apache.org> on 2016/11/21 10:03:59 UTC
[jira] [Created] (KAFKA-4427) Skip topicGroups with no tasks
Eno Thereska created KAFKA-4427:
-----------------------------------
Summary: 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)