T - The target generic typepublic class KafkaDefaultBinder<T> extends Object implements ConsumerRecordBinder<T>
ArgumentBinder.BindingResult<T>| Constructor and Description | 
|---|
KafkaDefaultBinder()
Default constructor. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
ArgumentBinder.BindingResult<T> | 
bind(ArgumentConversionContext<T> context,
    ConsumerRecord<?,?> source)
Bind the given argument from the given source. 
 | 
public ArgumentBinder.BindingResult<T> bind(ArgumentConversionContext<T> context, ConsumerRecord<?,?> source)
ArgumentBinderbind in interface ArgumentBinder<T,ConsumerRecord<?,?>>context - The ArgumentConversionContextsource - The sourceOptional of the value. If no binding was possible Optional.empty()