- All Known Implementing Classes:
RecordHandler, RecordsHandler
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
void
handle(org.apache.kafka.clients.consumer.ConsumerRecords<K,V> records,
org.apache.kafka.clients.consumer.Consumer<K,V> consumer,
boolean commitAllowed)
-
Method Details
-
handle
void handle(org.apache.kafka.clients.consumer.ConsumerRecords<K,V> records,
org.apache.kafka.clients.consumer.Consumer<K,V> consumer,
boolean commitAllowed)
- Parameters:
records - consumed records to handle by kafka consumer
consumer - consumer that consumer records
commitAllowed - if true that commit is allowed for consumer