Class KafkaDefaultBinder<T>

java.lang.Object
io.micronaut.configuration.kafka.bind.KafkaDefaultBinder<T>
Type Parameters:
T - The target generic type
All Implemented Interfaces:
ConsumerRecordBinder<T>, io.micronaut.core.bind.ArgumentBinder<T,ConsumerRecord<?,?>>

public class KafkaDefaultBinder<T> extends Object implements ConsumerRecordBinder<T>
The default binder that binds the Kafka value for a ConsumerRecord.
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>
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    io.micronaut.core.bind.ArgumentBinder.BindingResult<T>
    bind(io.micronaut.core.convert.ArgumentConversionContext<T> context, ConsumerRecord<?,?> source)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • KafkaDefaultBinder

      public KafkaDefaultBinder()
      Default constructor.
  • Method Details

    • bind

      public io.micronaut.core.bind.ArgumentBinder.BindingResult<T> bind(io.micronaut.core.convert.ArgumentConversionContext<T> context, ConsumerRecord<?,?> source)
      Specified by:
      bind in interface io.micronaut.core.bind.ArgumentBinder<T,ConsumerRecord<?,?>>