Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-4427

Skip topicGroups with no tasks

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.10.2.0
    • 0.10.2.0
    • streams
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              enothereska Eno Thereska
              enothereska Eno Thereska
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: