Interface KafkaRecordValueWithExceptionHandler<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 KafkaRecordValueWithExceptionHandler<V>
  • Method Summary

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

    • handle

      void handle(@Nullable V value, @Nullable Exception exception)
      Handles record by its value
      Parameters:
      value - of ConsumerRecord.value()
      exception - Exception thrown by ConsumerRecord.value()