You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2018/06/19 20:49:00 UTC

[jira] [Resolved] (KAFKA-7064) "Unexpected resource type GROUP" when describing broker configs using latest admin client

     [ https://issues.apache.org/jira/browse/KAFKA-7064?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jun Rao resolved KAFKA-7064.
----------------------------
    Resolution: Fixed

Merged [https://github.com/apache/kafka/pull/5245] to trunk and 2.0 branch.

> "Unexpected resource type GROUP" when describing broker configs using latest admin client
> -----------------------------------------------------------------------------------------
>
>                 Key: KAFKA-7064
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7064
>             Project: Kafka
>          Issue Type: Bug
>            Reporter: Rohan Desai
>            Assignee: Andy Coates
>            Priority: Blocker
>             Fix For: 2.0.0
>
>
> I'm getting the following error when I try to describe broker configs using the admin client:
> {code:java}
> org.apache.kafka.common.errors.InvalidRequestException: Unexpected resource type GROUP for resource 0{code}
> 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



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)