You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ivan Babrou (JIRA)" <ji...@apache.org> on 2017/05/30 18:56:04 UTC

[jira] [Created] (KAFKA-5348) kafka-consumer-groups.sh refuses to remove groups without ids

Ivan Babrou created KAFKA-5348:
----------------------------------

             Summary: kafka-consumer-groups.sh refuses to remove groups without ids
                 Key: KAFKA-5348
                 URL: https://issues.apache.org/jira/browse/KAFKA-5348
             Project: Kafka
          Issue Type: Bug
          Components: admin
    Affects Versions: 0.10.2.0
            Reporter: Ivan Babrou


In zookeeper I have:

{noformat}
[zk: foo(CONNECTED) 37] ls /kafka/logs/consumers/console-consumer-4107
[offsets]
{noformat}

This consumer group also shows up when I list consumer groups:

{noformat}
$ /usr/local/kafka/bin/kafka-consumer-groups.sh --zookeeper foo:2181/kafka/logs --list | fgrep console-consumer-4107
Note: This will only show information about consumers that use ZooKeeper (not those using the Java consumer API).

console-consumer-4107
{noformat}

But I cannot remove this group:

{noformat}
$ /usr/local/kafka/bin/kafka-consumer-groups.sh --zookeeper 36zk1.in.pdx.cfdata.org:2181/kafka/logs --delete --group console-consumer-4107
Note: This will only show information about consumers that use ZooKeeper (not those using the Java consumer API).

Error: Delete for group 'console-consumer-4107' failed because group does not exist.
{noformat}

I ran tcpdump and it turns out that /ids path is checked:

{noformat}
$.e.........P.fP...&......<...........//kafka/logs/consumers/console-consumer-4107/ids.
{noformat}

I think kafka should not check for /ids, it should check for / instead here.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)