title: kafka kafka-consumer-groups.sh --describe returns no output for a consumer group
body: <p>kafka version 1.1</p>
  
  <p><code>--list</code> can get the consumers group</p>
  
  <pre><code>bin/kafka-consumer-groups.sh --bootstrap-server localhost:9092 --list --command-config config/client_security.properties
  Note: This will not show information about old Zookeeper-based consumers.
  
  spark-kafka-source-fd469ba1-6ffa-43cb-8919-06c45ae56fd6--724816166-driver-0
  console-consumer-23379
  console-consumer-44846
  console-consumer-75221
  console-consumer-57833
  yizhisec-traffic
  console-consumer-91940
  group1
  </code></pre>
  
  <p>can't get any information. <strong>This consumer group id is generated by spark</strong>.</p>
  
  <pre><code>bin/kafka-consumer-groups.sh --bootstrap-server localhost:9092 --describe --group spark-kafka-source-fd469ba1-6ffa-43cb-8919-06c45ae56fd6--724816166-driver-0  --command-config config/client_security.properties
  </code></pre>
  
  <p>get nothing</p>
  
  <pre><code>Note: This will not show information about old Zookeeper-based consumers.
  
  </code></pre>
  
  <p>But test other consumers work.</p>
  
  <p><a href="https://i.stack.imgur.com/XXwLO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XXwLO.png" alt="enter image description here"></a></p>
  
  <h1>update more detail</h1>
  
  <hr>
  
  <p>I use Structured Streaming kafka
  <a href="https://i.stack.imgur.com/RMO9U.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/RMO9U.png" alt="enter image description here"></a></p>
  
  <p>and when I use <strong>zookeeper</strong> to query get error</p>
  
  <pre><code>bin/kafka-consumer-groups.sh --zookeeper localhost:2181 --describe --group spark-kafka-source-fd469ba1-6ffa-43cb-8919-06c45ae56fd6--724816166-driver-0  --command-config config/client_security.properties
  </code></pre>
  
  <p>get error</p>
  
  <pre><code>Note: This will only show information about consumers that use ZooKeeper (not those using the Java consumer API).
  Error: The consumer group 'spark-kafka-source-fd469ba1-6ffa-43cb-8919-06c45ae56fd6--724816166-driver-0' does not exist.
  </code></pre>