T
- The target generic type@Singleton public class KafkaBodyBinder<T> extends java.lang.Object implements AnnotatedConsumerRecordBinder<io.micronaut.http.annotation.Body,T>
Constructor and Description |
---|
KafkaBodyBinder() |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<io.micronaut.http.annotation.Body> |
annotationType() |
io.micronaut.core.bind.ArgumentBinder.BindingResult<T> |
bind(io.micronaut.core.convert.ArgumentConversionContext<T> context,
org.apache.kafka.clients.consumer.ConsumerRecord<?,?> source) |
public java.lang.Class<io.micronaut.http.annotation.Body> annotationType()
annotationType
in interface AnnotatedConsumerRecordBinder<io.micronaut.http.annotation.Body,T>
public io.micronaut.core.bind.ArgumentBinder.BindingResult<T> bind(io.micronaut.core.convert.ArgumentConversionContext<T> context, org.apache.kafka.clients.consumer.ConsumerRecord<?,?> source)
bind
in interface io.micronaut.core.bind.ArgumentBinder<T,org.apache.kafka.clients.consumer.ConsumerRecord<?,?>>