- Type Parameters:
K
- the key type.
V
- the value type.
- All Superinterfaces:
- GenericMessageListener<java.util.List<org.apache.kafka.clients.consumer.ConsumerRecord<K,V>>>, KafkaDataListener<java.util.List<org.apache.kafka.clients.consumer.ConsumerRecord<K,V>>>
- All Known Implementing Classes:
- BatchMessagingMessageListenerAdapter, FilteringBatchMessageListenerAdapter
public interface BatchMessageListener<K,V>
extends GenericMessageListener<java.util.List<org.apache.kafka.clients.consumer.ConsumerRecord<K,V>>>
Listener for handling a batch of incoming Kafka messages; the list
is created from the consumer records object returned by a poll.
- Since:
- 1.1
- Author:
- Marius Bogoevici, Gary Russell