title: How to create a new consumer group in kafka
body: <p>I am running kafka locally following instructions on quick start guide <a href="https://kafka.apache.org/quickstart" rel="noreferrer">here</a>, </p>
  
  <p>and then I defined my consumer group configuration in <code>config/consumer.properties</code> so that my consumer can pick messages from the defined <code>group.id</code></p>
  
  <p>Running the following command,</p>
  
  <pre><code>bin/kafka-consumer-groups.sh --list --bootstrap-server localhost:9092
  </code></pre>
  
  <p>results in,</p>
  
  <pre><code>test-consumer-group  &lt;-- group.id defined in conf/consumer.properties
  console-consumer-67807 &lt;-- when connecting to kafka via kafka-console-consumer.sh
  </code></pre>
  
  <p>I am able to connect to kafka via a python based consumer that is configured to use the provide <code>group.id</code> i.e <code>test-consumer-group</code></p>
  
  <p>First of all, I am not able to understand how/when kafka creates consumer groups. It seems it loads the <code>conf/consumer.properties</code> at some point of time and additionally it implicitly creates consumer-group (in my case <code>console-consumer-67807</code>) when connecting via <code>kafka-console-consumer.sh</code>.</p>
  
  <p>How can I explicitly create my own consumer group, lets say <code>my-created-consumer-group</code> ?</p>