Interface KafkaRecordsHandlerWithConsumer<K,V>

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface KafkaRecordsHandlerWithConsumer<K,V>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(org.apache.kafka.clients.consumer.ConsumerRecords<K,V> record, org.apache.kafka.clients.consumer.Consumer<K,V> consumer)
     
  • Method Details

    • handle

      void handle(org.apache.kafka.clients.consumer.ConsumerRecords<K,V> record, org.apache.kafka.clients.consumer.Consumer<K,V> consumer)
      Parameters:
      record - consumed record to handle by kafka consumer
      consumer - consumer that consumer records