Interface AnnotatedConsumerRecordBinder<A extends Annotation,T>

Type Parameters:
T - The target type
A - The annotation type
All Superinterfaces:
io.micronaut.core.bind.ArgumentBinder<T,ConsumerRecord<?,?>>, ConsumerRecordBinder<T>
All Known Implementing Classes:
KafkaKeyBinder, KafkaMessageHeaderBinder, KafkaMessagingBodyBinder, KafkaPartitionBinder

public interface AnnotatedConsumerRecordBinder<A extends Annotation,T> extends ConsumerRecordBinder<T>
Interface for binders that bind method arguments from a ConsumerRecord via a annotation.
Since:
1.0
Author:
Graeme Rocher
  • Nested Class Summary

    Nested classes/interfaces inherited from interface io.micronaut.core.bind.ArgumentBinder

    io.micronaut.core.bind.ArgumentBinder.BindingResult<T extends Object>
  • Method Summary

    Modifier and Type
    Method
    Description
     

    Methods inherited from interface io.micronaut.core.bind.ArgumentBinder

    bind
  • Method Details

    • annotationType

      Class<A> annotationType()
      Returns:
      The annotation type