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

kafka-consumer-groups.sh refuses to remove groups without ids

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Auto Closed
    • 0.10.2.0
    • None
    • admin
    • None

    Description

      In zookeeper I have:

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

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

      $ /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
      

      But I cannot remove this group:

      $ /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.
      

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

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

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

      Attachments

        Activity

          People

            vahid Vahid Hashemian
            bobrik Ivan Babrou
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: