@Singleton public class ConsumerRecordBinderRegistry extends Object implements ArgumentBinderRegistry<ConsumerRecord<?,?>>
ConsumerRecordBinder.| Constructor and Description | 
|---|
ConsumerRecordBinderRegistry(ConsumerRecordBinder<?>... binders)
Creates the registry for the given binders. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<T> Optional<ArgumentBinder<T,ConsumerRecord<?,?>>> | 
findArgumentBinder(Argument<T> argument,
                  ConsumerRecord<?,?> source)
Locate an  
ArgumentBinder for the given argument and source type. | 
public ConsumerRecordBinderRegistry(ConsumerRecordBinder<?>... binders)
binders - The binderspublic <T> Optional<ArgumentBinder<T,ConsumerRecord<?,?>>> findArgumentBinder(Argument<T> argument, ConsumerRecord<?,?> source)
ArgumentBinderRegistryArgumentBinder for the given argument and source type.findArgumentBinder in interface ArgumentBinderRegistry<ConsumerRecord<?,?>>T - The argument typeargument - The argumentsource - The sourceOptional of ArgumentBinder