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

"Unexpected resource type GROUP" when describing broker configs using latest admin client

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None

      Description

      I'm getting the following error when I try to describe broker configs using the admin client:

      org.apache.kafka.common.errors.InvalidRequestException: Unexpected resource type GROUP for resource 0

      I think its due to this commit: https://github.com/apache/kafka/commit/49db5a63c043b50c10c2dfd0648f8d74ee917b6a 

      My guess at what's going on is that now that the client is using ConfigResource instead of Resource it's sending a describe request for resource type BROKER w/ id 3, while the broker associates id 3 w/ GROUP

        Attachments

          Activity

            People

            • Assignee:
              BigAndy Andy Coates
              Reporter:
              desai.p.rohan Rohan Desai
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: