- 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
Handles record by its key and value
-
Method Details
-
handle
void handle(@Nullable
K key,
@Nullable
V value,
@Nullable
Exception exception)
Handles record by its key and value
- Parameters:
key - of ConsumerRecord.key()
value - of ConsumerRecord.value()
exception - Exception thrown by ConsumerRecord.key() or ConsumerRecord.value()