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

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

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

Manikumar resolved KAFKA-5348.
------------------------------
    Resolution: Auto Closed

{color:#000000}The Scala consumers have been deprecated and will be removed in 2.0.0. please upgrade to the Java consumer whenever possible.{color}

> 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
>            Assignee: Vahid Hashemian
>            Priority: Major
>
> 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
(v7.6.3#76005)