- Type Parameters:
K
- key class
V
- value class
- 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 MessageHandler<K,V>
Handler for consumer record processing. The handler includes the business logic that should be
applied on consumed messages. Be aware that the key or value can be null if the
WrappedNoSerializationErrorDeserializer is used.