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

ConsumerMetadataRequest does not validate consumer group exists

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Not A Problem
    • None
    • None
    • core
    • None

    Description

      Currently the offset partition is found by hashing & modding the name:

      // Utils.abs(group.hashCode) % config.offsetsTopicNumPartitions
      val partition = offsetManager.partitionFor(consumerMetadataRequest.group)

      And then the broker for the partition is returned as the coordinator broker.

      I expected an error to be returned for a group that does not exist. If this is not the expectation, then updating the docs may be a result of this Jira.

      Attachments

        Activity

          People

            granthenke Grant Henke
            granthenke Grant Henke
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: