title: Kafka 10.2 new consumer vs old consumer
body: <p>I've spent some hours to figure out what was going on but didn't manage to find the solution.</p>
  
  <p>Here is my set up on a single machine:</p>
  
  <ul>
  <li>1 zookeeper running</li>
  <li>3 broker running (on port 9092/9093/9094)</li>
  <li>1 topic with 3 partitions and 3 replications (each partition are properly assigned between brokers)</li>
  </ul>
  
  <p>I'm using kafka console producer to insert messages. If i check the replication offset (<code>cat replication-offset-checkpoint</code>), I see that my messages are properly ingested by Kafka.</p>
  
  <p>Now I use the kafka console consumer (new):</p>
  
  <pre><code>sudo bin/kafka-console-consumer.sh --bootstrap-server localhost:9092 --from-beginning --topic testTopicPartitionned2
  </code></pre>
  
  <p>I dont see anything consumed. I tried to delete my logs folder (/tmp/kafka-logs-[1,2,3]), create new topics, still nothing.</p>
  
  <p>However when I use the old kafka consumer:</p>
  
  <pre><code>sudo bin/kafka-console-consumer.sh --zookeeper localhost:2181 --topic testTopicPartitionned2
  </code></pre>
  
  <p>I can see my messages.</p>
  
  <p>Am I missing something big here to make this new consumer work ?</p>
  
  <p>Thanks in advance.</p>