title: Kafka listener receiving List<ConsumerRecord<String, String>>, is it possible to consume?
body: <p>I am super new in Kafka and I frankly have no idea about this type of consumer (as far as I understood is like that due is batch ready), so I am struggling to figure out how to basically consume the list of these events.</p>
  
  <p>I have something like this:</p>
  
  <pre><code>    @KafkaListener(topics = "#{'${kafka.listener.list-of-topics}'.split(',')}")
          public void readMessage(List&lt;ConsumerRecord&lt;String, String&gt;&gt; records,
                                     final Acknowledgment acknowledgment) {
  
              try {
  ....
  </code></pre>
  
  <p>I know when I receive an event (at least a single one) is of type "MyObject" so I can do it fine when I get a single message.</p>
  
  <p>I believe there must be a way to read/cast this <code>List&lt;ConsumerRecords&lt;String,String&gt;</code> but I cannot figure out how..</p>
  
  <p>any ideas?</p>