You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "huxihx (JIRA)" <ji...@apache.org> on 2017/11/16 06:38:00 UTC

[jira] [Created] (KAFKA-6219) Inconsistent behavior for kafka-consumer-groups with ACL enabled

huxihx created KAFKA-6219:
-----------------------------

             Summary: Inconsistent behavior for kafka-consumer-groups with ACL enabled
                 Key: KAFKA-6219
                 URL: https://issues.apache.org/jira/browse/KAFKA-6219
             Project: Kafka
          Issue Type: Bug
          Components: admin
    Affects Versions: 1.0.0
            Reporter: huxihx
            Assignee: huxihx


When ACL is enabled, running kafka-consumer-groups.sh --describe to describe a group complains:

`Error: Executing consumer group command failed due to Not authorized to access group: Group authorization failed.`

However, running kafka-consumer-groups.sh --list otherwise returns nothing, confusing user whether there are no groups at all or something wrong happened.

In `AdminClient.listAllGroups`, it captures all the possible exceptions and returns an empty List.

It's better keep those two methods consistent. Does it make any sense?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)