Interface KafkaRecordKeyValueHandler<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 KafkaRecordKeyValueHandler<K,V>
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    handle(K key, V value)
    Handles record by its key and value
  • Method Details

    • handle

      void handle(K key, V value)
      Handles record by its key and value
      Parameters:
      key - of ConsumerRecord.key()
      value - of ConsumerRecord.value()