This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
public interface BatchAcknowledgingMessageListener<K,V>
Listener for handling a batch of incoming Kafka messages, propagating an acknowledgment
handle that recipients can invoke when the message has been processed. The list is
created from the consumer records object returned by a poll.